Moved SelectionDecorations to Mods.Common

And added more settings.

Moved SelectionBoxRenderable to Mods.Common, too.
This commit is contained in:
reaperrr
2015-06-01 04:35:34 +02:00
parent d6fb05ce68
commit a3bd007ac7
9 changed files with 40 additions and 17 deletions

View File

@@ -61,12 +61,6 @@ namespace OpenRA.Traits
public IEnumerable<IRenderable> RenderAfterWorld(WorldRenderer wr)
{
if (!Info.Selectable)
yield break;
yield return new SelectionBoxRenderable(self, Color.White);
yield return new SelectionBarsRenderable(self);
if (self.World.LocalPlayer != null && self.World.LocalPlayer.PlayerActor.Trait<DeveloperMode>().PathDebug)
yield return new TargetLineRenderable(ActivityTargetPath(), Color.Green);
}