diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2017-12-15 18:15:38 +0100 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2017-12-15 18:15:38 +0100 |
commit | b3ab2d0a77bb154fbeb21745771e3c006b26ffb9 (patch) | |
tree | b7c6b1ec98db4ae79af9b2073693e1e2662cab90 /src | |
parent | ade692f3af4c17590c73ad2019a5700c727a9947 (diff) |
Don't show the say message if dead.
Diffstat (limited to 'src')
-rw-r--r-- | src/game/units.cpp | 2 |
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; |