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>2010-09-26 14:55:35 +0000
committerStijn Buys <ingar@osirion.org>2010-09-26 14:55:35 +0000
commit765927f9f0e9ca751e1d94bd86aaf47200dcdb81 (patch)
tree3eae4aeaad9b38ab8ea1d4287359542ebe4486a3 /src/game/base/planet.cc
parentaeef4449ce3c1bdc531fb90699fef68bd48ca644 (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.cc12
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)