hedgewars/GSHandlers.inc
changeset 8003 7d8bce524daf
parent 7992 0b7dc27b2baf
child 8026 4a4f21070479
child 8030 165aeaaaf445
--- a/hedgewars/GSHandlers.inc	Wed Nov 07 13:24:01 2012 -0500
+++ b/hedgewars/GSHandlers.inc	Wed Nov 07 14:02:10 2012 -0500
@@ -722,7 +722,7 @@
         end;
     Gear^.Pos:= 0;
     Gear^.X:= int2hwFloat(LongInt(GetRandom(snowRight - snowLeft)) + snowLeft);
-    Gear^.Y:= int2hwFloat(LongInt(LAND_HEIGHT + GetRandom(50)) - 1325);
+    Gear^.Y:= int2hwFloat(LAND_HEIGHT + LongInt(GetRandom(50)) - 1325);
     Gear^.State:= Gear^.State or gstInvisible;
     end
 end;