From 9617614b04b7e2981ebff5074b55778381ca8b20 Mon Sep 17 00:00:00 2001 From: tron Date: Sat, 25 Jun 2005 16:44:57 +0000 Subject: (svn r2487) Replace TILE_XY by TileXY/TileDiffXY --- rail_gui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rail_gui.c') diff --git a/rail_gui.c b/rail_gui.c index b87d1f00d..0e8bfc775 100644 --- a/rail_gui.c +++ b/rail_gui.c @@ -636,7 +636,7 @@ static void HandleStationPlacement(TileIndex start, TileIndex end) // TODO: Custom station selector GUI. Now we just try using first custom station // (and fall back to normal stations if it isn't available). - DoCommandP(TILE_XY(sx,sy), _railstation.orientation | (w<<8) | (h<<16),_cur_railtype|1<<4, CcStation, + DoCommandP(TileXY(sx, sy), _railstation.orientation | (w << 8) | (h << 16), _cur_railtype | 1 << 4, CcStation, CMD_BUILD_RAILROAD_STATION | CMD_NO_WATER | CMD_AUTO | CMD_MSG(STR_100F_CAN_T_BUILD_RAILROAD_STATION)); } -- cgit v1.2.3-54-g00ecf