Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/base/station.cc')
-rw-r--r--src/game/base/station.cc13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/game/base/station.cc b/src/game/base/station.cc
index 83897cd..a093c0e 100644
--- a/src/game/base/station.cc
+++ b/src/game/base/station.cc
@@ -16,26 +16,13 @@ Station::Station() : Entity(), PhysicsBody(this)
entity_moduletypeid = station_enttype;
set_flag(core::Entity::Dockable);
set_flag(core::Entity::ShowOnMap);
- station_shipdealer = 0;
}
Station::~Station()
{
- if (station_shipdealer)
- delete station_shipdealer;
-
shutdown_physics();
}
-void Station::set_shipdealer(ShipDealer *shipdealer)
-{
- if (station_shipdealer)
- delete station_shipdealer;
-
- station_shipdealer = shipdealer;
-}
-
-
void Station::dock(core::Entity *entity)
{
if (entity->moduletype() != ship_enttype)