ai.h
changeset 1981 3c9c682f1212
parent 1977 37bbebf94434
--- a/ai.h	Sat Jun 25 06:15:43 2005 +0000
+++ b/ai.h	Sat Jun 25 16:44:57 2005 +0000
@@ -222,7 +222,7 @@
 
 #define AI_NO_CARGO 0xFF // Means that there is no cargo defined yet (used for industry)
 #define AI_NEED_CARGO 0xFE // Used when the AI needs to find out a cargo for the route
-#define AI_STATION_RANGE TILE_XY(MapMaxX(), MapMaxY())
+#define AI_STATION_RANGE TileXY(MapMaxX(), MapMaxY())
 
 #define AI_PATHFINDER_NO_DIRECTION (byte)-1