hedgewars/uLandObjects.pas
changeset 10490 b30b8d39d662
parent 10325 7315870716f2
child 10560 9f09196d92a6
--- a/hedgewars/uLandObjects.pas	Tue Nov 11 21:55:38 2014 +0100
+++ b/hedgewars/uLandObjects.pas	Tue Nov 11 23:57:46 2014 +0300
@@ -372,8 +372,8 @@
                 inc(cnt);
                 if cnt > MaxPointsIndex then // buffer is full, do not check the rest land
                     begin
-                    y:= 5000;
-                    x:= 5000;
+                    y:= LAND_HEIGHT;
+                    x:= LAND_WIDTH;
                     end
                 end;
             inc(y, 3);