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/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)