summaryrefslogtreecommitdiff
path: root/bridge_gui.c
diff options
context:
space:
mode:
authorcelestar <celestar@openttd.org>2006-04-03 09:07:21 +0000
committercelestar <celestar@openttd.org>2006-04-03 09:07:21 +0000
commit69e1c716e86a855b4379504bbb94a5483a63f43e (patch)
treee106242c0ac31fc61254791e0f6fcfe95db2baad /bridge_gui.c
parent6443c14ebd7ed0f9920673c218eaaa1172076a5f (diff)
downloadopenttd-69e1c716e86a855b4379504bbb94a5483a63f43e.tar.xz
(svn r4249) -Codechange: Replace more occurences of 16 by TILE_SIZE and of 8 by TILE_HEIGHT. Reverted one change from the previous commit because it was faulty
Diffstat (limited to 'bridge_gui.c')
-rw-r--r--bridge_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge_gui.c b/bridge_gui.c
index a2a04550c..2913853a0 100644
--- a/bridge_gui.c
+++ b/bridge_gui.c
@@ -162,6 +162,6 @@ void ShowBuildBridgeWindow(TileIndex start, TileIndex end, byte bridge_type)
w->vscroll.cap = 4;
w->vscroll.count = (byte)j;
} else {
- ShowErrorMessage(errmsg, STR_5015_CAN_T_BUILD_BRIDGE_HERE, TileX(end) * 16, TileY(end) * 16);
+ ShowErrorMessage(errmsg, STR_5015_CAN_T_BUILD_BRIDGE_HERE, TileX(end) * TILE_SIZE, TileY(end) * TILE_SIZE);
}
}