From 38eb51c26ab0d9dbebc974c7a21f96a429ce3098 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Tue, 8 Feb 2011 16:55:23 +0000 Subject: Corrected triangle loading of collision model, added 'complex' flag to ships.ini to enable collision models on player ships. --- src/game/base/ship.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/game/base/ship.cc') 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 -- cgit v1.2.3