File diff r28536:d61f9f1bb262 → r28537:045dd8e45363
src/ai/ai_config.cpp
Show inline comments
 
@@ -18,6 +18,8 @@
 

	
 
/* static */ AIConfig *AIConfig::GetConfig(CompanyID company, ScriptSettingSource source)
 
{
 
	assert(company < MAX_COMPANIES);
 

	
 
	AIConfig **config;
 
	if (source == SSS_FORCE_NEWGAME || (source == SSS_DEFAULT && _game_mode == GM_MENU)) {
 
		config = &_settings_newgame.ai_config[company];