tunnelbridge_cmd.c
changeset 1884 804ff5f94ed0
parent 1784 d0698aac0c2e
child 1891 862800791170
--- a/tunnelbridge_cmd.c	Wed Jun 01 11:34:37 2005 +0000
+++ b/tunnelbridge_cmd.c	Wed Jun 01 11:52:44 2005 +0000
@@ -1153,7 +1153,7 @@
 	uint y = ti->y & 0xF;
 
 	// swap directions if Y tunnel/bridge to let the code handle the X case only.
-	if (ti->map5 & 1) intswap(x,y);
+	if (ti->map5 & 1) uintswap(x,y);
 
 	// to the side of the tunnel/bridge?
 	if (IS_INT_INSIDE(y, 5, 10+1)) {