(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:
yexo
2011-11-08 21:48:00 +00:00
parent 0566a6cfda
commit 41e9da2420
6 changed files with 70 additions and 31 deletions

View File

@@ -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.