hedgewars/uLandObjects.pas
changeset 5226 10ecd8bd8517
parent 5225 d38211100f4d
child 5238 46ddaf14509d
--- a/hedgewars/uLandObjects.pas	Thu Jun 02 18:08:50 2011 -0400
+++ b/hedgewars/uLandObjects.pas	Thu Jun 02 18:36:35 2011 -0400
@@ -93,8 +93,7 @@
                     LandPixels[cpY + y, cpX + x]:= p^[x];
             end
             else
-                if (LandPixels[(cpY + y) div 2, (cpX + x) div 2] = 0) or 
-		   (((p^[x] and AMask) <> 0) and (((LandPixels[(cpY + y) div 2, (cpX + x) div 2] and AMask) shr AShift) < 255)) then
+                if LandPixels[(cpY + y) div 2, (cpX + x) div 2] = 0 then 
                     LandPixels[(cpY + y) div 2, (cpX + x) div 2]:= p^[x];
 
         if ((Land[cpY + y, cpX + x] and $FF00) = 0) and ((p^[x] and AMask) <> 0) then