diff options
Diffstat (limited to 'src/game/units.cpp')
-rw-r--r-- | src/game/units.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/units.cpp b/src/game/units.cpp index 2b3b081..828ca6b 100644 --- a/src/game/units.cpp +++ b/src/game/units.cpp @@ -102,7 +102,7 @@ void unit_t::say(std::string str, bool on_interface) say_time = game->now; if (on_interface) - game->interface->print(name + ": " + str); + game->interface.print(name + ": " + str); } bool unit_t::keep_moving(double speed) @@ -220,11 +220,11 @@ void unit_t::die(unit_t *killer) case UNIT_SOLDIER: case UNIT_SCIENTIST: case UNIT_SPIDER: - game->interface->print(name + " " + text::get(text::UNIT_DEATH) + "."); + game->interface.print(name + " " + text::get(text::UNIT_DEATH) + "."); break; default: - game->interface->print(name + " " + text::get(text::UNIT_DESTRUCTION) + "."); + game->interface.print(name + " " + text::get(text::UNIT_DESTRUCTION) + "."); break; } |