summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/game/game.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/game.cpp b/src/game/game.cpp
index c585314..ae2dff7 100644
--- a/src/game/game.cpp
+++ b/src/game/game.cpp
@@ -128,6 +128,8 @@ void state_t::select(rectf_t rect, int type)
bool select_one;
std::list<world::entity_t*> ents;
+ rect = rect.norm();
+
if (type == SELECT_NEW) {
selection_cookie++;
selected_units.clear();