summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/game/units.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/units.cpp b/src/game/units.cpp
index e266782..f777400 100644
--- a/src/game/units.cpp
+++ b/src/game/units.cpp
@@ -67,6 +67,9 @@ void unit_t::render_to(render::state_t *render)
sf::Color::White);
}
+ if (selected == selection_cookie && type != UNIT_SOLDIER)
+ render->render_hlrect(render_bounds, sf::Color::Green);
+
if (debug_AI) {
v2f_t text_pos;
float height;