From cda9ce6c56951d56282d809ea2ad071f7dfb101f Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Fri, 27 Apr 2018 19:11:45 +0200 Subject: Fix selection. --- src/game/game.cpp | 2 ++ 1 file changed, 2 insertions(+) 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 ents; + rect = rect.norm(); + if (type == SELECT_NEW) { selection_cookie++; selected_units.clear(); -- cgit