hedgewars/uGears.pas
changeset 4159 64e677349124
parent 4155 9160dbe77118
child 4165 dec8aafc6414
--- a/hedgewars/uGears.pas	Sun Nov 07 16:33:42 2010 +0300
+++ b/hedgewars/uGears.pas	Sun Nov 07 16:41:03 2010 +0300
@@ -1060,8 +1060,8 @@
     begin
     if not (((Ammoz[CurAmmoType].Ammo.Propz and ammoprop_AltUse) <> 0) and ((Gear^.State and gstAttacked) = 0)) then
         exit;
-    DrawTexture(round(int64(sx) + 16), round(int64(sy) + 16), ropeIconTex);
-    DrawTextureF(SpritesData[sprAMAmmos].Texture, 0.75, round(int64(sx) + 30), round(int64(sy) + 30), ord(CurAmmoType) - 1, 1, 32, 32);
+    DrawTexture(sx + 16, sy + 16, ropeIconTex);
+    DrawTextureF(SpritesData[sprAMAmmos].Texture, 0.75, sx + 30, sy + 30, ord(CurAmmoType) - 1, 1, 32, 32);
     end;
 end;