Don't need to check for this case
authornemo
Thu, 02 Jun 2011 18:36:35 -0400
changeset 5226 10ecd8bd8517
parent 5225 d38211100f4d
child 5227 17cf34724b57
Don't need to check for this case
hedgewars/uLandObjects.pas
--- 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