Replace DrawTargetLine checkbox with an Automatic/Manual/Disabled dropdown.

This commit is contained in:
Paul Chote
2019-08-07 10:32:55 +00:00
committed by teinarss
parent 2909445452
commit 95ca14d4a3
6 changed files with 63 additions and 22 deletions

View File

@@ -97,7 +97,7 @@ namespace OpenRA.Mods.Common.Effects
IEnumerable<IRenderable> RenderInner(WorldRenderer wr)
{
if (Game.Settings.Game.DrawTargetLine)
if (Game.Settings.Game.TargetLines != TargetLinesType.Disabled)
yield return new TargetLineRenderable(targetLine, building.Owner.Color, rp.Info.LineWidth);
if (circles != null || flag != null)