# HG changeset patch # User Wuzzy # Date 1560610843 -7200 # Node ID c0ae9f4f95899639e353455e69fd7146ec4088d6 # Parent 13a69aad93259dcbf6246e98c076be3e2a79824b Perlin maps: Initialize playWidth and playHeight diff -r 13a69aad9325 -r c0ae9f4f9589 hedgewars/uLandGenPerlin.pas --- 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;