summaryrefslogtreecommitdiff
path: root/bridge_gui.c
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2005-05-09 13:26:15 +0000
committerDarkvater <darkvater@openttd.org>2005-05-09 13:26:15 +0000
commit2b96754673a964ba73a7ad5e508a8dfb31a0c701 (patch)
treeccbac52281216762b9143a0756b6a957443b581d /bridge_gui.c
parent5f6de3e47c1418388efeabef2a312f689a288175 (diff)
downloadopenttd-2b96754673a964ba73a7ad5e508a8dfb31a0c701.tar.xz
(svn r2285) - Codechange: Fix up some of the missing things from server-checking; namely bridge-type, bridge-length, dragged end-tile (bridge/station), station_spread
- Fix: [ 1197256 ] max station spread patch < 7 does not work. Station spread was not taking into account when not using drag&drop. Fix this up, and add a callback to the settings window to immediately reflect the changes.
Diffstat (limited to 'bridge_gui.c')
-rw-r--r--bridge_gui.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/bridge_gui.c b/bridge_gui.c
index 881cb625a..5d9fa45ac 100644
--- a/bridge_gui.c
+++ b/bridge_gui.c
@@ -161,7 +161,6 @@ 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,
- TileX(end) * 16, TileY(end) * 16);
+ ShowErrorMessage(errmsg, STR_5015_CAN_T_BUILD_BRIDGE_HERE, TileX(end) * 16, TileY(end) * 16);
}
}