Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2009-07-07 13:43:05 +0000
committerStijn Buys <ingar@osirion.org>2009-07-07 13:43:05 +0000
commit7e15b99c01616999496155fe5d2ce89d7608932b (patch)
tree226d5c23b0a931ccbbf490aaf2da647ed6ebe5d4 /src/game/base/station.cc
parent1f71cc5e127f6163e9163afd42453fe145defbeb (diff)
Initial bullet physics support
Diffstat (limited to 'src/game/base/station.cc')
-rw-r--r--src/game/base/station.cc4
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)