Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/base/ship.cc')
-rw-r--r--src/game/base/ship.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/game/base/ship.cc b/src/game/base/ship.cc
index ef60e97..84b4e0a 100644
--- a/src/game/base/ship.cc
+++ b/src/game/base/ship.cc
@@ -374,8 +374,9 @@ void Ship::frame(float seconds)
/* -- update state ----------------------------------------- */
// speed might be set to 0 on this update
- if (entity_speed != 0.0f)
+ if (entity_speed != 0.0f) {
set_dirty();
+ }
if (entity_state == core::Entity::Docked) {
@@ -642,6 +643,7 @@ void Ship::frame(float seconds)
*/
EntityControlable::frame(seconds);
+
}
} // namespace game