mirror of https://github.com/OpenTTD/OpenTTD
(svn r15182) -Fix: After updating an AI select the latest version for the next game.
parent
3511218e37
commit
3c757724e9
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue