From 84716e9d1e5a73b7ab013385fc0b49964563bb2b Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Thu, 14 Dec 2017 18:07:08 +0100 Subject: Dead soldiers aren't ready for orders. --- src/game/game.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/game.cpp') diff --git a/src/game/game.cpp b/src/game/game.cpp index 826f9e5..48f852f 100644 --- a/src/game/game.cpp +++ b/src/game/game.cpp @@ -56,7 +56,7 @@ void state_t::select(rectf_t x) if (unit->type != unit_t::UNIT_HUMAN) continue; - if (unit->selected != old_cookie) + if (!unit->dead && unit->selected != old_cookie) unit->say(text::get(text::SAY_READY)); unit->selected = selection_cookie; -- cgit