# HG changeset patch # User unc0rr # Date 1388092932 -14400 # Node ID f7eb0d87c9b686ad5e44aa4bb9ddea76f41f074e # Parent 2b4f9e1496c693a1ab8099fd613eb1f80f8ca887 Oops, meant Land diff -r 2b4f9e1496c6 -r f7eb0d87c9b6 hedgewars/uLand.pas --- a/hedgewars/uLand.pas Thu Dec 26 16:52:51 2013 +0100 +++ b/hedgewars/uLand.pas Fri Dec 27 01:22:12 2013 +0400 @@ -123,7 +123,7 @@ for x:= 0 to LAND_WIDTH - 1 do for y:= 0 to LAND_HEIGHT - 1 do - if LandPixels[y, x] = 0 then + if Land[y, x] = 0 then if s < y then begin for i:= max(s, y - 8) to y - 1 do @@ -157,7 +157,7 @@ for y:= 0 to LAND_HEIGHT - 1 do for x:= 0 to LAND_WIDTH - 1 do - if LandPixels[y, x] = 0 then + if Land[y, x] = 0 then if s < x then begin for i:= max(s, x - 8) to x - 1 do