summaryrefslogtreecommitdiff
path: root/src/ai
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2012-11-11 16:10:43 +0000
committerfrosch <frosch@openttd.org>2012-11-11 16:10:43 +0000
commit03736af2aee50db4e36c2cd9127085630f82cd4b (patch)
tree417a584e588daf08f7a9a4f00a5883c48d6fae8d /src/ai
parentcd5525386519d878aade98c6708500f170c30e31 (diff)
downloadopenttd-03736af2aee50db4e36c2cd9127085630f82cd4b.tar.xz
(svn r24700) -Cleanup: Remove WDF_UNCLICK_BUTTONS and make it the default.
Diffstat (limited to 'src/ai')
-rw-r--r--src/ai/ai_gui.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ai/ai_gui.cpp b/src/ai/ai_gui.cpp
index 20af1f295..0c1a342a6 100644
--- a/src/ai/ai_gui.cpp
+++ b/src/ai/ai_gui.cpp
@@ -260,7 +260,7 @@ static const NWidgetPart _nested_ai_list_widgets[] = {
static const WindowDesc _ai_list_desc(
WDP_CENTER, 200, 234,
WC_AI_LIST, WC_NONE,
- WDF_UNCLICK_BUTTONS,
+ 0,
_nested_ai_list_widgets, lengthof(_nested_ai_list_widgets)
);
@@ -625,7 +625,7 @@ static const NWidgetPart _nested_ai_settings_widgets[] = {
static const WindowDesc _ai_settings_desc(
WDP_CENTER, 500, 208,
WC_AI_SETTINGS, WC_NONE,
- WDF_UNCLICK_BUTTONS,
+ 0,
_nested_ai_settings_widgets, lengthof(_nested_ai_settings_widgets)
);
@@ -719,7 +719,7 @@ static const NWidgetPart _nested_ai_config_widgets[] = {
static const WindowDesc _ai_config_desc(
WDP_CENTER, 0, 0,
WC_GAME_OPTIONS, WC_NONE,
- WDF_UNCLICK_BUTTONS,
+ 0,
_nested_ai_config_widgets, lengthof(_nested_ai_config_widgets)
);
@@ -1519,7 +1519,7 @@ static const NWidgetPart _nested_ai_debug_widgets[] = {
static const WindowDesc _ai_debug_desc(
WDP_AUTO, 600, 450,
WC_AI_DEBUG, WC_NONE,
- WDF_UNCLICK_BUTTONS,
+ 0,
_nested_ai_debug_widgets, lengthof(_nested_ai_debug_widgets)
);