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.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/base/planet.cc b/src/game/base/planet.cc
index 3242f15..60885b1 100644
--- a/src/game/base/planet.cc
+++ b/src/game/base/planet.cc
@@ -52,7 +52,7 @@ void Planet::dock(core::Entity *entity)
return;
}
- ship->location().assign(entity->location());
+ ship->get_location().assign(entity->location());
ship->set_state(core::Entity::Docked);
if (ship->owner() && ship->owner()->control() == ship) {