diff -r c3ccec3834e8 -r 29bc9c36ad5f hedgewars/tunsetborder.inc --- a/hedgewars/tunsetborder.inc Thu Jan 18 20:29:28 2007 +0000 +++ b/hedgewars/tunsetborder.inc Sun Jan 21 19:51:02 2007 +0000 @@ -1,8 +1,8 @@ begin X:= X + dX; Y:= Y + dY; - tx:= round(X); - ty:= round(Y); + 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; \ No newline at end of file + end;