diff options
author | rubidium <rubidium@openttd.org> | 2009-02-04 16:59:41 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-02-04 16:59:41 +0000 |
commit | ac7757324ee2130f3c487f0323dbb23f9553806b (patch) | |
tree | 0b2799a662a70856b0fe38c29efcafe45c25f8e4 /src/terraform_gui.cpp | |
parent | b6e6be58da699065621085715445f2d6502cf27a (diff) | |
download | openttd-ac7757324ee2130f3c487f0323dbb23f9553806b.tar.xz |
(svn r15338) -Fix [FS#2598]: close all construction related windows whenever changing company.
Diffstat (limited to 'src/terraform_gui.cpp')
-rw-r--r-- | src/terraform_gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/terraform_gui.cpp b/src/terraform_gui.cpp index 82d2f5c42..d05e35cdc 100644 --- a/src/terraform_gui.cpp +++ b/src/terraform_gui.cpp @@ -328,7 +328,7 @@ static const Widget _terraform_widgets[] = { static const WindowDesc _terraform_desc = { WDP_ALIGN_TBR, 22 + 36, 158, 36, 158, 36, WC_SCEN_LAND_GEN, WC_NONE, - WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_STICKY_BUTTON, + WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_STICKY_BUTTON | WDF_CONSTRUCTION, _terraform_widgets, }; @@ -709,7 +709,7 @@ struct ScenarioEditorLandscapeGenerationWindow : Window { static const WindowDesc _scen_edit_land_gen_desc = { WDP_AUTO, WDP_AUTO, 163, 103, 163, 103, WC_SCEN_LAND_GEN, WC_NONE, - WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_STICKY_BUTTON, + WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_STICKY_BUTTON | WDF_CONSTRUCTION, _scen_edit_land_gen_widgets, }; |