Merge pull request #10336 from RoosterDragon/fix-param-order
Fix parameters sent to DetectionCircleRenderable.
This commit is contained in:
@@ -45,19 +45,19 @@ namespace OpenRA.Mods.Common.Graphics
|
||||
public IRenderable WithPalette(PaletteReference newPalette)
|
||||
{
|
||||
return new DetectionCircleRenderable(centerPosition, radius, zOffset,
|
||||
trailCount, trailAngle, trailSeparation, color, contrastColor);
|
||||
trailCount, trailSeparation, trailAngle, color, contrastColor);
|
||||
}
|
||||
|
||||
public IRenderable WithZOffset(int newOffset)
|
||||
{
|
||||
return new DetectionCircleRenderable(centerPosition, radius, newOffset,
|
||||
trailCount, trailAngle, trailSeparation, color, contrastColor);
|
||||
trailCount, trailSeparation, trailAngle, color, contrastColor);
|
||||
}
|
||||
|
||||
public IRenderable OffsetBy(WVec vec)
|
||||
{
|
||||
return new DetectionCircleRenderable(centerPosition + vec, radius, zOffset,
|
||||
trailCount, trailAngle, trailSeparation, color, contrastColor);
|
||||
trailCount, trailSeparation, trailAngle, color, contrastColor);
|
||||
}
|
||||
|
||||
public IRenderable AsDecoration() { return this; }
|
||||
|
||||
Reference in New Issue
Block a user