Move SelectedUnit drawing stuff out of WorldRenderer into Selectable with IRenderSelection

This commit is contained in:
alzeih
2010-07-26 02:25:52 +12:00
parent 5f357288ee
commit 130b4d29b4
9 changed files with 177 additions and 155 deletions

View File

@@ -135,6 +135,9 @@ namespace OpenRA.Mods.RA
public void Render(Actor self)
{
if (self.Owner != self.World.LocalPlayer)
return;
if (minefield != null)
Game.world.WorldRenderer.DrawLocus(Color.Cyan, minefield);
}