hedgewars/tunsetborder.inc
changeset 1792 c30c6944bd49
parent 1778 1d9395d1e104
child 2602 3deb9ff104da
--- a/hedgewars/tunsetborder.inc	Sat Feb 14 16:25:58 2009 +0000
+++ b/hedgewars/tunsetborder.inc	Sat Feb 14 16:30:22 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] = $FFFFFF) then LandPixels[ty, tx]:= cExplosionBorderColor
+           (Land[ty, tx] = COLOR_LAND) then LandPixels[ty, tx]:= cExplosionBorderColor
 	end;