(svn r15562) -Change: Use GetName() to determine the unique AI name instead of GetInstanceName() to make branching of AIs easier.

This commit is contained in:
yexo
2009-02-23 20:57:55 +00:00
parent c876e3e1b2
commit 1884ba20bc
3 changed files with 7 additions and 7 deletions

View File

@@ -37,7 +37,7 @@
info = AI::ai_scanner->SelectRandomAI();
assert(info != NULL);
/* Load default data and store the name in the settings */
AIConfig::GetConfig(company)->ChangeAI(info->GetInstanceName());
AIConfig::GetConfig(company)->ChangeAI(info->GetName());
}
_current_company = company;