From 414ac3286b10b83d8f832c58f48f373f5130cb89 Mon Sep 17 00:00:00 2001 From: tron Date: Fri, 7 Jan 2005 17:02:43 +0000 Subject: (svn r1414) Move TileIndex, TILE_MASK and GET_TILE_[XY] to map.h and turn the latter into inline functions names Tile[XY] --- bridge_gui.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bridge_gui.c') diff --git a/bridge_gui.c b/bridge_gui.c index 3dda50732..881cb625a 100644 --- a/bridge_gui.c +++ b/bridge_gui.c @@ -161,6 +161,7 @@ void ShowBuildBridgeWindow(uint start, uint end, byte bridge_type) w->vscroll.cap = 4; w->vscroll.count = (byte)j; } else { - ShowErrorMessage(errmsg, STR_5015_CAN_T_BUILD_BRIDGE_HERE, GET_TILE_X(end) * 16, GET_TILE_Y(end) * 16); + ShowErrorMessage(errmsg, STR_5015_CAN_T_BUILD_BRIDGE_HERE, + TileX(end) * 16, TileY(end) * 16); } } -- cgit v1.2.3-54-g00ecf