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/ship.cc')
-rw-r--r--src/game/ship.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/ship.cc b/src/game/ship.cc
index 89ff343..8492b68 100644
--- a/src/game/ship.cc
+++ b/src/game/ship.cc
@@ -132,6 +132,10 @@ void Ship::frame(float seconds)
float actual_turnspeed = ship_shipmodel->turnspeed();
float actual_acceleration = ship_shipmodel->acceleration();
+ // speed might get set to 0 on this update
+ if (entity_speed != 0.0f)
+ entity_dirty = true;
+
// jumpdrive
// target axis
math::Axis target_axis(entity_axis);