diff options
author | rubidium <rubidium@openttd.org> | 2009-11-28 14:42:35 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-11-28 14:42:35 +0000 |
commit | 293dfd7c3e754b846b745d80fa4ca6795b9f7ed0 (patch) | |
tree | 4fc72c84fc5875eb2719f9a9cbf4d9a458fb2f12 /src/ai | |
parent | b58b058e2b254cb375ebc2ec67c1ac307e6aeb87 (diff) | |
download | openttd-293dfd7c3e754b846b745d80fa4ca6795b9f7ed0.tar.xz |
(svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice.
Diffstat (limited to 'src/ai')
-rw-r--r-- | src/ai/ai_gui.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ai/ai_gui.cpp b/src/ai/ai_gui.cpp index 14c8b8b84..98118e6e2 100644 --- a/src/ai/ai_gui.cpp +++ b/src/ai/ai_gui.cpp @@ -229,7 +229,7 @@ static const NWidgetPart _nested_ai_list_widgets[] = { /* Window definition for the ai list window. */ static const WindowDesc _ai_list_desc( - WDP_CENTER, WDP_CENTER, 200, 234, + WDP_CENTER, 200, 234, WC_AI_LIST, WC_NONE, WDF_UNCLICK_BUTTONS, _nested_ai_list_widgets, lengthof(_nested_ai_list_widgets) @@ -437,7 +437,7 @@ static const NWidgetPart _nested_ai_settings_widgets[] = { /* Window definition for the AI settings window. */ static const WindowDesc _ai_settings_desc( - WDP_CENTER, WDP_CENTER, 500, 208, + WDP_CENTER, 500, 208, WC_AI_SETTINGS, WC_NONE, WDF_UNCLICK_BUTTONS, _nested_ai_settings_widgets, lengthof(_nested_ai_settings_widgets) @@ -493,7 +493,7 @@ static const NWidgetPart _nested_ai_config_widgets[] = { /* Window definition for the configure AI window. */ static const WindowDesc _ai_config_desc( - WDP_CENTER, WDP_CENTER, 300, 172, + WDP_CENTER, 300, 172, WC_GAME_OPTIONS, WC_NONE, WDF_UNCLICK_BUTTONS, _nested_ai_config_widgets, lengthof(_nested_ai_config_widgets) @@ -959,7 +959,7 @@ static const NWidgetPart _nested_ai_debug_widgets[] = { }; static const WindowDesc _ai_debug_desc( - WDP_AUTO, WDP_AUTO, 299, 241, + WDP_AUTO, 299, 241, WC_AI_DEBUG, WC_NONE, 0, _nested_ai_debug_widgets, lengthof(_nested_ai_debug_widgets) |