suppress selection logic in all custom input modes (sell, repair, place building,... )

This commit is contained in:
Chris Forbes
2010-01-02 13:02:37 +13:00
parent 5f78d3a3d0
commit d2be508523

View File

@@ -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);