select cursor support, better selection
This commit is contained in:
@@ -75,7 +75,7 @@ namespace OpenRa.Game.Graphics
|
||||
lineRenderer.DrawLine(a + b + c, a + c, Color.White, Color.White);
|
||||
lineRenderer.DrawLine(a, a + c, Color.White, Color.White);
|
||||
|
||||
foreach (var u in game.FindUnits(selbox.Value.First, selbox.Value.Second))
|
||||
foreach (var u in game.SelectUnitsInBox(selbox.Value.First, selbox.Value.Second))
|
||||
DrawSelectionBox(u, Color.Yellow, false);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user