diff -r 88674c291331 -r 1d9395d1e104 hedgewars/tunsetborder.inc --- a/hedgewars/tunsetborder.inc Fri Jan 30 14:56:27 2009 +0000 +++ b/hedgewars/tunsetborder.inc Fri Jan 30 14:57:02 2009 +0000 @@ -21,7 +21,7 @@ Y:= Y + dY; tx:= hwRound(X); ty:= hwRound(Y); - if ((ty and $FFFFFC00) = 0) and - ((tx and $FFFFF800) = 0) and + if ((ty and LAND_HEIGHT_MASK) = 0) and + ((tx and LAND_WIDTH_MASK) = 0) and (Land[ty, tx] = $FFFFFF) then LandPixels[ty, tx]:= cExplosionBorderColor end;