Oops, meant Land
authorunc0rr
Fri, 27 Dec 2013 01:22:12 +0400
changeset 9864 f7eb0d87c9b6
parent 9861 2b4f9e1496c6
child 9866 62ffe234127d
Oops, meant Land
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