hedgewars/tunsetborder.inc
changeset 2602 3deb9ff104da
parent 1792 c30c6944bd49
child 2603 abed6070a669
--- a/hedgewars/tunsetborder.inc	Thu Nov 05 20:40:31 2009 +0000
+++ b/hedgewars/tunsetborder.inc	Thu Nov 05 20:47:42 2009 +0000
@@ -23,5 +23,5 @@
         ty:= hwRound(Y);
         if ((ty and LAND_HEIGHT_MASK) = 0) and
            ((tx and LAND_WIDTH_MASK) = 0) and
-           (Land[ty, tx] = COLOR_LAND) then LandPixels[ty, tx]:= cExplosionBorderColor
+           ((Land[ty, tx] = COLOR_LAND) or (Land[ty, tx] = COLOR_OBJECT)) then LandPixels[ty, tx]:= cExplosionBorderColor
 	end;