diff options
author | Stijn Buys <ingar@osirion.org> | 2009-01-10 15:35:16 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2009-01-10 15:35:16 +0000 |
commit | b8668c7a181ff082e5aeabffeaa413677da3e6f9 (patch) | |
tree | c257df6d1103bfc4534c73d465639c0adb38f1db | |
parent | 823765175958a75ab05573a06403883d96098864 (diff) |
fix printing of wrong name when docking
-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()); } } |