hedgewars/uLandGenPerlin.pas
changeset 15155 c0ae9f4f9589
parent 15011 bea068dd9356
child 15900 128ace913837
--- a/hedgewars/uLandGenPerlin.pas	Sat Jun 15 16:37:36 2019 +0200
+++ b/hedgewars/uLandGenPerlin.pas	Sat Jun 15 17:00:43 2019 +0200
@@ -225,8 +225,10 @@
                     Land[y, x]:= 0;
         end;
 
+    playWidth:= width;
+    playHeight:= height;
     leftX:= 0;
-    rightX:= 4095;
+    rightX:= playWidth - 1;
     topY:= 0;
     hasBorder:= false;
 end;