diff options
author | Stijn Buys <ingar@osirion.org> | 2011-02-08 16:55:23 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2011-02-08 16:55:23 +0000 |
commit | 38eb51c26ab0d9dbebc974c7a21f96a429ce3098 (patch) | |
tree | 8563fdcf4de0d19ad20e660ae30b4b333825e4d4 /src/game/base/ship.cc | |
parent | 84dd93a63305bd3b1ff3c5c897a6f3e729bfefed (diff) |
Corrected triangle loading of collision model, added 'complex' flag to ships.ini
to enable collision models on player ships.
Diffstat (limited to 'src/game/base/ship.cc')
-rw-r--r-- | src/game/base/ship.cc | 4 |
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 |