From d2be5085237ed29a806c8244da65eb6492dffc29 Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Sat, 2 Jan 2010 13:02:37 +1300 Subject: [PATCH] suppress selection logic in all custom input modes (sell, repair, place building,... ) --- OpenRa.Game/Controller.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRa.Game/Controller.cs b/OpenRa.Game/Controller.cs index bb05c67fd0..b8ae8cf7f2 100644 --- a/OpenRa.Game/Controller.cs +++ b/OpenRa.Game/Controller.cs @@ -79,7 +79,7 @@ namespace OpenRa.Game if (mi.Button == MouseButton.Left && mi.Event == MouseInputEvent.Up) { - if (!(orderGenerator is PlaceBuildingOrderGenerator)) + if (orderGenerator is UnitOrderGenerator) { var newSelection = Game.SelectActorsInBox(Game.CellSize * dragStart, Game.CellSize * xy); CombineSelection(newSelection, mi.Modifiers.HasModifier(Modifiers.Shift), dragStart == xy);