From 6979c74625d51897d99797b309974c2ee82a024b Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Wed, 6 Aug 2008 16:43:32 +0000 Subject: every player within 1024 game units is drawn as target --- src/game/ship.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/game') 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); -- cgit v1.2.3