moved all selection-related bits into Selection.cs

This commit is contained in:
Chris Forbes
2010-02-08 19:08:44 +13:00
parent 37af0f2f04
commit 227b73830d
5 changed files with 77 additions and 66 deletions

View File

@@ -234,7 +234,7 @@ namespace OpenRa.Graphics
void DrawControlGroup(Actor selectedUnit, float2 basePosition)
{
var group = Game.controller.GetControlGroupForActor(selectedUnit);
var group = Game.controller.selection.GetControlGroupForActor(selectedUnit);
if (group == null) return;
var pipImages = new Animation("pips");