hedgewars/tunsetborder.inc
author displacer
Sun, 21 Jan 2007 21:27:07 +0000
changeset 354 60e4af0a4375
parent 351 29bc9c36ad5f
child 358 236bbd12d4d9
permissions -rw-r--r--
network to local teams map, addteams from server before team config bug, fixed some segfaults

        begin
        X:= X + dX;
        Y:= Y + dY;
        tx:= hwRound(X);
        ty:= hwRound(Y);
        if ((ty and $FFFFFC00) = 0) and ((tx and $FFFFF800) = 0)and (Land[ty, tx] = $FFFFFF) then
           SetLandPixel(ty, tx)
	end;