diff -r 404ddce27b23 -r c13ebed437cb hedgewars/uLandObjects.pas --- a/hedgewars/uLandObjects.pas Wed Feb 20 02:21:58 2013 +0100 +++ b/hedgewars/uLandObjects.pas Tue Apr 02 21:00:57 2013 +0200 @@ -107,7 +107,7 @@ 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 + if (Land[cpY + y, cpX + x] <= lfAllObjMask) and ((p^[x] and AMask) <> 0) then begin Land[cpY + y, cpX + x]:= lfObject; Land[cpY + y, cpX + x]:= Land[cpY + y, cpX + x] or extraFlags