summaryrefslogtreecommitdiff
path: root/rail_gui.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-06-25 16:44:57 +0000
committertron <tron@openttd.org>2005-06-25 16:44:57 +0000
commit9617614b04b7e2981ebff5074b55778381ca8b20 (patch)
treeed8629cbd76a9334fd657971f55ef5cb63c9915f /rail_gui.c
parent2b73dec56791a1aa3b2e3c333ae2d4673a7cfbfc (diff)
downloadopenttd-9617614b04b7e2981ebff5074b55778381ca8b20.tar.xz
(svn r2487) Replace TILE_XY by TileXY/TileDiffXY
Diffstat (limited to 'rail_gui.c')
-rw-r--r--rail_gui.c2
1 files changed, 1 insertions, 1 deletions
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));
}