hedgewars/GSHandlers.inc
changeset 3976 abaf741a4e21
parent 3975 3f605cca9215
child 3985 57121975b64b
--- a/hedgewars/GSHandlers.inc	Thu Oct 14 16:01:43 2010 +0200
+++ b/hedgewars/GSHandlers.inc	Thu Oct 14 22:01:33 2010 +0200
@@ -422,7 +422,7 @@
                 begin
                 doMakeExplosion(hwRound(Gear^.X), hwRound(Gear^.Y), 20, EXPLAutoSound);
                 for i:= 0 to 2 do
-                    AddGear(hwRound(Gear^.X) - 30 + GetRandom(60), hwRound(Gear^.Y) - 20 + GetRandom(40), gtPoisonCloud, 0, _0, _0, 0);
+                    AddGear(int64(hwRound(Gear^.X)) - 30 + GetRandom(60), int64(hwRound(Gear^.Y)) - 20 + GetRandom(40), gtPoisonCloud, 0, _0, _0, 0);
                 end;
         end;
     DeleteGear(Gear);