From aaa8be9a3fdef77675d9cfb5158eacbb858c1d26 Mon Sep 17 00:00:00 2001 From: Yexo Date: Wed, 21 Jan 2009 00:09:36 +0000 Subject: (svn r15182) -Fix: After updating an AI select the latest version for the next game. --- src/ai/ai_config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; } -- cgit v1.2.3-54-g00ecf