summaryrefslogtreecommitdiff
path: root/src/table
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2011-11-08 21:48:00 +0000
committeryexo <yexo@openttd.org>2011-11-08 21:48:00 +0000
commita256bd71e472fb6bd6ad91f464ee1d1a18a1823f (patch)
treeef338211b627ae164a9dd5bb705cf509123aaf88 /src/table
parent5c838ff1c312c240e44bb7da95e5450bcfeaeff6 (diff)
downloadopenttd-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/table')
-rw-r--r--src/table/settings.ini2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/table/settings.ini b/src/table/settings.ini
index 6370a43c6..65edeea2c 100644
--- a/src/table/settings.ini
+++ b/src/table/settings.ini
@@ -37,6 +37,7 @@ static bool InvalidateVehTimetableWindow(int32 p1);
static bool InvalidateCompanyLiveryWindow(int32 p1);
static bool InvalidateNewGRFChangeWindows(int32 p1);
static bool InvalidateIndustryViewWindow(int32 p1);
+static bool InvalidateAISettingsWindow(int32 p1);
static bool RedrawTownAuthority(int32 p1);
extern bool UpdateNewGRFConfigPalette(int32 p1);
@@ -2422,6 +2423,7 @@ proc = InvalidateNewGRFChangeWindows
var = gui.ai_developer_tools
flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
def = false
+proc = InvalidateAISettingsWindow
[SDTC_BOOL]
var = gui.scenario_developer