hedgewars/uLand.pas
branch0.9.20
changeset 9881 749369ad65a9
parent 9864 f7eb0d87c9b6
child 9891 89e74808836d
--- a/hedgewars/uLand.pas	Mon Dec 30 13:33:58 2013 -0500
+++ b/hedgewars/uLand.pas	Mon Dec 30 14:56:47 2013 -0500
@@ -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