hedgewars/tunsetborder.inc
author unc0rr
Thu, 10 Aug 2006 22:19:35 +0000
changeset 106 98cb6606bf67
parent 101 f568cc72ea8c
child 184 f97a7a3dc8f6
permissions -rw-r--r--
Small fix for 64bit compatibility
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
38
c1ec4b15d70e Better Desert Eagle and Shotgun
unc0rr
parents:
diff changeset
     1
        begin
c1ec4b15d70e Better Desert Eagle and Shotgun
unc0rr
parents:
diff changeset
     2
        X:= X + dX;
c1ec4b15d70e Better Desert Eagle and Shotgun
unc0rr
parents:
diff changeset
     3
        Y:= Y + dY;
c1ec4b15d70e Better Desert Eagle and Shotgun
unc0rr
parents:
diff changeset
     4
        tx:= round(X);
c1ec4b15d70e Better Desert Eagle and Shotgun
unc0rr
parents:
diff changeset
     5
        ty:= round(Y);
53
0e27949850e3 - Fixed bubble theme object
unc0rr
parents: 38
diff changeset
     6
        if ((ty and $FFFFFC00) = 0) and ((tx and $FFFFF800) = 0)and (Land[ty, tx] = $FFFFFF) then
101
f568cc72ea8c Get rid of pointer <> integer typecasts
unc0rr
parents: 53
diff changeset
     7
           SetLandPixel(ty, tx)
38
c1ec4b15d70e Better Desert Eagle and Shotgun
unc0rr
parents:
diff changeset
     8
	end;