(svn r15182) -Fix: After updating an AI select the latest version for the next game.

This commit is contained in:
Yexo
2009-01-21 00:09:36 +00:00
parent 8c07295dad
commit aaa8be9a3f

View File

@@ -71,7 +71,7 @@ AIInfo *AIConfig::GetInfo()
bool AIConfig::ResetInfo() bool AIConfig::ResetInfo()
{ {
this->info = AI::FindInfo(this->name, this->version); this->info = AI::FindInfo(this->name, -1);
return this->info != NULL; return this->info != NULL;
} }