hedgewars/uGears.pas
changeset 8003 7d8bce524daf
parent 7988 4b428183d946
child 8011 ffd5eba8f7c2
--- a/hedgewars/uGears.pas	Wed Nov 07 13:24:01 2012 -0500
+++ b/hedgewars/uGears.pas	Wed Nov 07 14:02:10 2012 -0500
@@ -658,7 +658,7 @@
 
 if (not hasBorder) and ((Theme = 'Snow') or (Theme = 'Christmas')) then
     for i:= vobCount * Longword(max(LAND_WIDTH,4096)) div 2048 downto 1 do
-        AddGear(LongInt(GetRandom(snowRight - snowLeft)) + snowLeft, LongInt(LAND_HEIGHT + GetRandom(750)) - 1300, gtFlake, 0, _0, _0, 0);
+        AddGear(LongInt(GetRandom(snowRight - snowLeft)) + snowLeft, LAND_HEIGHT + LongInt(GetRandom(750)) - 1300, gtFlake, 0, _0, _0, 0);
 end;