hedgewars/uLandObjects.pas
branchqmlfrontend
changeset 10515 7705784902e1
parent 10490 b30b8d39d662
child 10560 9f09196d92a6
--- a/hedgewars/uLandObjects.pas	Sun Nov 09 23:02:21 2014 +0300
+++ b/hedgewars/uLandObjects.pas	Tue Nov 18 23:39:30 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);