(svn r23169) -Feature: [NoAI] AICONFIG_AI_DEVELOPER flags to hide AI settings unless gui.ai_developer_tools is enabled (Zuu)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user