hedgewars/tunsetborder.inc
changeset 1778 1d9395d1e104
parent 1066 1f1b3686a2b0
child 1792 c30c6944bd49
equal deleted inserted replaced
1777:88674c291331 1778:1d9395d1e104
    19         begin
    19         begin
    20         X:= X + dX;
    20         X:= X + dX;
    21         Y:= Y + dY;
    21         Y:= Y + dY;
    22         tx:= hwRound(X);
    22         tx:= hwRound(X);
    23         ty:= hwRound(Y);
    23         ty:= hwRound(Y);
    24         if ((ty and $FFFFFC00) = 0) and
    24         if ((ty and LAND_HEIGHT_MASK) = 0) and
    25            ((tx and $FFFFF800) = 0) and
    25            ((tx and LAND_WIDTH_MASK) = 0) and
    26            (Land[ty, tx] = $FFFFFF) then LandPixels[ty, tx]:= cExplosionBorderColor
    26            (Land[ty, tx] = $FFFFFF) then LandPixels[ty, tx]:= cExplosionBorderColor
    27 	end;
    27 	end;