summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
Diffstat (limited to 'src/game')
-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;