diff options
author | yexo <yexo@openttd.org> | 2011-11-08 21:48:00 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2011-11-08 21:48:00 +0000 |
commit | a256bd71e472fb6bd6ad91f464ee1d1a18a1823f (patch) | |
tree | ef338211b627ae164a9dd5bb705cf509123aaf88 /src/settings.cpp | |
parent | 5c838ff1c312c240e44bb7da95e5450bcfeaeff6 (diff) | |
download | openttd-a256bd71e472fb6bd6ad91f464ee1d1a18a1823f.tar.xz |
(svn r23169) -Feature: [NoAI] AICONFIG_AI_DEVELOPER flags to hide AI settings unless gui.ai_developer_tools is enabled (Zuu)
Diffstat (limited to 'src/settings.cpp')
-rw-r--r-- | src/settings.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/settings.cpp b/src/settings.cpp index a688fc5aa..cd6003cdc 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -920,6 +920,12 @@ static bool InvalidateIndustryViewWindow(int32 p1) return true; } +static bool InvalidateAISettingsWindow(int32 p1) +{ + InvalidateWindowClassesData(WC_AI_SETTINGS); + return true; +} + /** * Update the town authority window after a town authority setting change. * @param p1 Unused. |