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>2009-08-15 13:25:37 +0000
committerStijn Buys <ingar@osirion.org>2009-08-15 13:25:37 +0000
commita3cfb9c4634e3ce7e052e72ce564d25e5367a430 (patch)
treed0efd558c108b674fbfd367bdc1f2fc68682c04a /src/game/base/planet.cc
parent4ca453e2272beed121b957244408a61b0b0d8b9b (diff)
API cleanups, const optimizations, submodel lights/flares/particles import
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) {