diff options
Diffstat (limited to 'src/game/base')
-rw-r--r-- | src/game/base/collision.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/base/collision.cc b/src/game/base/collision.cc index 3da65d1..728ad14 100644 --- a/src/game/base/collision.cc +++ b/src/game/base/collision.cc @@ -32,6 +32,7 @@ void Collision::distance_test(core::EntityControlable *first, core::Entity *seco if ((first->moduletype() == ship_enttype) && (first->state() != core::Entity::Destroyed)) { first->owner()->send_warning("^RBOOM!^N"); static_cast<Ship *>(first)->explode(); + first->entity_speed = 0; } } else if (first->owner()->last_warning() + 5.0f < core::application()->time()) { // warning zone: star corona or planet atmosphere |