hedgewars/uWorld.pas
changeset 2609 b67624c7d61e
parent 2599 c7153d2348f3
child 2619 bc2786a00fb8
--- a/hedgewars/uWorld.pas	Mon Nov 09 20:29:21 2009 +0000
+++ b/hedgewars/uWorld.pas	Mon Nov 09 22:56:29 2009 +0000
@@ -383,8 +383,8 @@
 				tdy:= - Cos(Gear^.Angle * Pi / cMaxAngle);
 				for i:= (Gear^.Power * 24) div cPowerDivisor downto 0 do
 					DrawSprite(sprPower,
-							hwRound(Gear^.X) + system.round(WorldDx + tdx * (24 + i * 2)) - 16,
-							hwRound(Gear^.Y) + system.round(WorldDy + tdy * (24 + i * 2)) - 12,
+							hwRound(Gear^.X) + round(WorldDx + tdx * (24 + i * 2)) - 16,
+							hwRound(Gear^.Y) + round(WorldDy + tdy * (24 + i * 2)) - 12,
 							i)
 				end
 		end;