Mercurial > hg > openttd
diff src/company_gui.cpp @ 10998:a1d256bf72e0 draft
(svn r15338) -Fix [FS#2598]: close all construction related windows whenever changing company.
author | rubidium <rubidium@openttd.org> |
---|---|
date | Wed, 04 Feb 2009 16:59:41 +0000 |
parents | bcb22b063237 |
children | e07c7d3925c8 |
line wrap: on
line diff
--- a/src/company_gui.cpp +++ b/src/company_gui.cpp @@ -1096,7 +1096,7 @@ static const WindowDesc _select_company_manager_face_desc = { WDP_AUTO, WDP_AUTO, 190, 163, 190, 163, WC_COMPANY_MANAGER_FACE, WC_NONE, - WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS, + WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_CONSTRUCTION, _select_company_manager_face_widgets, }; @@ -1104,7 +1104,7 @@ static const WindowDesc _select_company_manager_face_adv_desc = { WDP_AUTO, WDP_AUTO, 220, 220, 220, 220, WC_COMPANY_MANAGER_FACE, WC_NONE, - WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS, + WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_CONSTRUCTION, _select_company_manager_face_adv_widgets, }; @@ -1518,7 +1518,7 @@ static const WindowDesc _buy_company_desc = { 153, 171, 334, 137, 334, 137, WC_BUY_COMPANY, WC_NONE, - WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET, + WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_CONSTRUCTION, _buy_company_widgets, };