diff options
-rw-r--r-- | src/game/base/planet.cc | 2 | ||||
-rw-r--r-- | src/game/base/station.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/game/base/planet.cc b/src/game/base/planet.cc index f63552c..3bf719e 100644 --- a/src/game/base/planet.cc +++ b/src/game/base/planet.cc @@ -55,7 +55,7 @@ void Planet::dock(core::Entity *entity) if (ship->owner() && ship->owner()->control() == ship) { ship->owner()->set_view(this); - ship->owner()->send("^BDocking at " + entity->name()); + ship->owner()->send("^BDocking at " + name()); } } diff --git a/src/game/base/station.cc b/src/game/base/station.cc index 59f51ac..0a959c3 100644 --- a/src/game/base/station.cc +++ b/src/game/base/station.cc @@ -50,7 +50,7 @@ void Station::dock(core::Entity *entity) if (ship->owner() && ship->owner()->control() == ship) { ship->owner()->set_view(this); - ship->owner()->send("^BDocking at " + entity->name()); + ship->owner()->send("^BDocking at " + name()); } } |