Changeset - r10847:fe95a896f1b2
[Not reviewed]
master
0 1 0
Yexo - 15 years ago 2009-01-21 00:09:36
yexo@openttd.org
(svn r15182) -Fix: After updating an AI select the latest version for the next game.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/ai/ai_config.cpp
Show inline comments
 
@@ -68,13 +68,13 @@ AIInfo *AIConfig::GetInfo()
 
{
 
	return this->info;
 
}
 

	
 
bool AIConfig::ResetInfo()
 
{
 
	 this->info = AI::FindInfo(this->name, this->version);
 
	 this->info = AI::FindInfo(this->name, -1);
 
	 return this->info != NULL;
 
}
 

	
 
const AIConfigItemList *AIConfig::GetConfigList()
 
{
 
	if (this->info != NULL) return this->info->GetConfigList();
0 comments (0 inline, 0 general)