summaryrefslogtreecommitdiff
path: root/src/road_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-02-08 15:45:34 +0000
committerrubidium <rubidium@openttd.org>2009-02-08 15:45:34 +0000
commit412f93b877d650b911f2167018cd69e8e8a25d9b (patch)
tree1e36a2be5ddf63b800e78616aa7a9a247c017944 /src/road_gui.cpp
parent5429c5a095ba8a23fd5763692610c20ed2e6f7a8 (diff)
downloadopenttd-412f93b877d650b911f2167018cd69e8e8a25d9b.tar.xz
(svn r15413) -Fix [FS#2529/2533]: inconsistencies between station and bridge building w.r.t. tile selection and when the window should be closed.
Diffstat (limited to 'src/road_gui.cpp')
-rw-r--r--src/road_gui.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/road_gui.cpp b/src/road_gui.cpp
index 1f593c0fc..89d15ac72 100644
--- a/src/road_gui.cpp
+++ b/src/road_gui.cpp
@@ -530,6 +530,7 @@ struct BuildRoadToolbarWindow : Window {
delete FindWindowById(WC_TRUCK_STATION, 0);
delete FindWindowById(WC_BUILD_DEPOT, 0);
delete FindWindowById(WC_SELECT_STATION, 0);
+ delete FindWindowById(WC_BUILD_BRIDGE, 0);
}
virtual void OnPlaceDrag(ViewportPlaceMethod select_method, ViewportDragDropSelectionProcess select_proc, Point pt)