Overhaul target line rendering:
- Targets are now defined by the activities - Queued activities are shown - Support custom attack colors
This commit is contained in:
@@ -98,7 +98,7 @@ namespace OpenRA.Mods.Common.Effects
|
||||
IEnumerable<IRenderable> RenderInner(WorldRenderer wr)
|
||||
{
|
||||
if (Game.Settings.Game.DrawTargetLine)
|
||||
yield return new TargetLineRenderable(targetLine, building.Owner.Color);
|
||||
yield return new TargetLineRenderable(targetLine, building.Owner.Color, rp.Info.LineWidth);
|
||||
|
||||
if (circles != null || flag != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user