mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-21 05:29:11 +00:00
(svn r15182) -Fix: After updating an AI select the latest version for the next game.
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user