diff options
author | Stijn Buys <ingar@osirion.org> | 2009-07-07 13:43:05 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2009-07-07 13:43:05 +0000 |
commit | 7e15b99c01616999496155fe5d2ce89d7608932b (patch) | |
tree | 226d5c23b0a931ccbbf490aaf2da647ed6ebe5d4 /src/game/base/station.cc | |
parent | 1f71cc5e127f6163e9163afd42453fe145defbeb (diff) |
Initial bullet physics support
Diffstat (limited to 'src/game/base/station.cc')
-rw-r--r-- | src/game/base/station.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/game/base/station.cc b/src/game/base/station.cc index 69949fb..67c1595 100644 --- a/src/game/base/station.cc +++ b/src/game/base/station.cc @@ -10,7 +10,7 @@ namespace game { -Station::Station() : Entity() +Station::Station() : Entity(), PhysicsBody(this) { entity_moduletypeid = station_enttype; set_flag(core::Entity::Dockable); @@ -22,6 +22,8 @@ Station::~Station() { if (station_shipdealer) delete station_shipdealer; + + shutdown_physics(); } void Station::set_shipdealer(ShipDealer *shipdealer) |