npf.c
changeset 1981 3c9c682f1212
parent 1967 a01f4d5dd957
child 1983 4fcefeef2feb
--- a/npf.c	Sat Jun 25 06:15:43 2005 +0000
+++ b/npf.c	Sat Jun 25 16:44:57 2005 +0000
@@ -81,7 +81,7 @@
 		ty = y3;
 
 	// return the tile of our target coordinates
-	return TILE_XY(tx,ty);
+	return TileXY(tx, ty);
 };
 
 /* Calcs the heuristic to the target station or tile. For train stations, it