diff options
-rw-r--r-- | src/game/base/ship.cc | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/game/base/ship.cc b/src/game/base/ship.cc index 459b8fd..51d111b 100644 --- a/src/game/base/ship.cc +++ b/src/game/base/ship.cc @@ -372,17 +372,9 @@ void Ship::action (btScalar seconds) break; case core::Entity::Docked: - //maxspeed = 0.0f; - engine_force = 0.0f; - - t.setIdentity(); - t.setOrigin(to_btVector3(location())); - t.setBasis(to_btMatrix3x3(axis())); - body()->setWorldTransform(t); - zone()->physics()->synchronizeSingleMotionState(entity_body); - return; break; + default: //maxspeed = 0.0f; engine_force = 0.0f; |