From b3ab2d0a77bb154fbeb21745771e3c006b26ffb9 Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Fri, 15 Dec 2017 18:15:38 +0100 Subject: Don't show the say message if dead. --- src/game/units.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit