Changed: DrawRangeCircle now accepts a float instead of an int

This commit is contained in:
geckosoft
2010-11-22 17:19:01 +01:00
committed by Paul Chote
parent fef6285436
commit be701007df

View File

@@ -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++)