summaryrefslogtreecommitdiff
path: root/src/road_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-01-02 21:01:27 +0000
committerrubidium <rubidium@openttd.org>2009-01-02 21:01:27 +0000
commitc331426ce0fa1d81917555dc605d882780d1a91e (patch)
tree64681c2e943582f39b31d9042b393d9d2bdcbacf /src/road_gui.cpp
parent5130369301b709e1d326ee7e706e7fde7dad5200 (diff)
downloadopenttd-c331426ce0fa1d81917555dc605d882780d1a91e.tar.xz
(svn r14787) -Fix: landscape toolbar getting closed when rail/road/water/airport toolbar gets closed with linked toolbars turned on.
Diffstat (limited to 'src/road_gui.cpp')
-rw-r--r--src/road_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/road_gui.cpp b/src/road_gui.cpp
index 254e5d03d..938adc10f 100644
--- a/src/road_gui.cpp
+++ b/src/road_gui.cpp
@@ -415,7 +415,7 @@ struct BuildRoadToolbarWindow : Window {
~BuildRoadToolbarWindow()
{
- if (_settings_client.gui.link_terraform_toolbar) DeleteWindowById(WC_SCEN_LAND_GEN, 0);
+ if (_settings_client.gui.link_terraform_toolbar) DeleteWindowById(WC_SCEN_LAND_GEN, 0, false);
}
/**