1
0
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:
Yexo
2009-01-21 00:09:36 +00:00
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;
} }