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/planet.cc | |
parent | aeef4449ce3c1bdc531fb90699fef68bd48ca644 (diff) |
moved trading definitions from station.ini to the zone.ini
Diffstat (limited to 'src/game/base/planet.cc')
-rw-r--r-- | src/game/base/planet.cc | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/game/base/planet.cc b/src/game/base/planet.cc index ca213af..ad1aa47 100644 --- a/src/game/base/planet.cc +++ b/src/game/base/planet.cc @@ -23,25 +23,13 @@ Planet::Planet() : core::EntityGlobe() entity_moduletypeid = planet_enttype; entity_rotationspeed = 1.0f; - - planet_shipdealer = 0; } Planet::~Planet() { - if (planet_shipdealer) - delete planet_shipdealer; -} -void Planet::set_shipdealer(ShipDealer *shipdealer) -{ - if (planet_shipdealer) - delete planet_shipdealer; - - planet_shipdealer = shipdealer; } - void Planet::dock(core::Entity *entity) { if (entity->moduletype() != ship_enttype) |