# HG changeset patch # User nemo # Date 1307054195 14400 # Node ID 10ecd8bd85170c4d707ae7c359fa5f78bfd8f7b7 # Parent d38211100f4dda191981863acdd6a4f761dfcfe5 Don't need to check for this case diff -r d38211100f4d -r 10ecd8bd8517 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