summaryrefslogtreecommitdiff
path: root/src/game/units.cpp
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2017-12-15 18:15:38 +0100
committerPaweł Redman <pawel.redman@gmail.com>2017-12-15 18:15:38 +0100
commitb3ab2d0a77bb154fbeb21745771e3c006b26ffb9 (patch)
treeb7c6b1ec98db4ae79af9b2073693e1e2662cab90 /src/game/units.cpp
parentade692f3af4c17590c73ad2019a5700c727a9947 (diff)
Don't show the say message if dead.
Diffstat (limited to 'src/game/units.cpp')
-rw-r--r--src/game/units.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/units.cpp b/src/game/units.cpp
index 236470f..bbba372 100644
--- a/src/game/units.cpp
+++ b/src/game/units.cpp
@@ -59,7 +59,7 @@ void unit_t::render_to(render::state_t *render)
if (move.moving && debug_draw_paths)
render->debug_path(&move.path);
- if (say_time + 5.0 > game->now) {
+ if (!dead && say_time + 5.0 > game->now) {
v2f_t text_pos;
float height;