Ensure TargetLineRenderable width and marker size don't get lost.
By making the constructor take non-optional parameters, this highlights some calls sites which were forgetting to set these values. These are now fixed. Set the path debug to have a marker size of 2 for better visibility.
This commit is contained in:
committed by
Paul Chote
parent
9d4d4bb924
commit
3a7aeb5324
@@ -123,7 +123,7 @@ namespace OpenRA.Mods.Common.Effects
|
||||
{
|
||||
var targetLine = new[] { prev, pos };
|
||||
prev = pos;
|
||||
yield return new TargetLineRenderable(targetLine, building.Owner.Color, rp.Info.LineWidth);
|
||||
yield return new TargetLineRenderable(targetLine, building.Owner.Color, rp.Info.LineWidth, 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user