Changed: DrawRangeCircle now accepts a float instead of an int
This commit is contained in:
@@ -184,7 +184,7 @@ namespace OpenRA.Graphics
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void DrawRangeCircle(Color c, float2 location, int range)
|
public void DrawRangeCircle(Color c, float2 location, float range)
|
||||||
{
|
{
|
||||||
var prev = location + Game.CellSize * range * float2.FromAngle(0);
|
var prev = location + Game.CellSize * range * float2.FromAngle(0);
|
||||||
for (var i = 1; i <= 32; i++)
|
for (var i = 1; i <= 32; i++)
|
||||||
|
|||||||
Reference in New Issue
Block a user