diff options
author | Stijn Buys <ingar@osirion.org> | 2010-09-26 14:55:35 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2010-09-26 14:55:35 +0000 |
commit | 765927f9f0e9ca751e1d94bd86aaf47200dcdb81 (patch) | |
tree | 3eae4aeaad9b38ab8ea1d4287359542ebe4486a3 /src/game/base/station.cc | |
parent | aeef4449ce3c1bdc531fb90699fef68bd48ca644 (diff) |
moved trading definitions from station.ini to the zone.ini
Diffstat (limited to 'src/game/base/station.cc')
-rw-r--r-- | src/game/base/station.cc | 13 |
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) |