hedgewars/tunsetborder.inc
changeset 351 29bc9c36ad5f
parent 184 f97a7a3dc8f6
child 358 236bbd12d4d9
--- 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;