diff options
author | Yexo <Yexo@openttd.org> | 2009-01-21 00:09:36 +0000 |
---|---|---|
committer | Yexo <Yexo@openttd.org> | 2009-01-21 00:09:36 +0000 |
commit | aaa8be9a3fdef77675d9cfb5158eacbb858c1d26 (patch) | |
tree | 5489f7a5815f31c8a004a1153b82bdd524c1b746 | |
parent | 8c07295dad6c141e630920c5813a54487aebb7b1 (diff) | |
download | openttd-aaa8be9a3fdef77675d9cfb5158eacbb858c1d26.tar.xz |
(svn r15182) -Fix: After updating an AI select the latest version for the next game.
-rw-r--r-- | src/ai/ai_config.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ai/ai_config.cpp b/src/ai/ai_config.cpp index 4ec500935..8333fcf40 100644 --- a/src/ai/ai_config.cpp +++ b/src/ai/ai_config.cpp @@ -71,7 +71,7 @@ AIInfo *AIConfig::GetInfo() bool AIConfig::ResetInfo() { - this->info = AI::FindInfo(this->name, this->version); + this->info = AI::FindInfo(this->name, -1); return this->info != NULL; } |