hedgewars/uLand.pas
changeset 9864 f7eb0d87c9b6
parent 9524 0a52c1dd9400
child 9891 89e74808836d
--- 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