(svn r18944) -Change [FS#3232]: use the highest version of an AI that can load the AI data from a savegame instead of the exact same version

This commit is contained in:
yexo
2010-01-29 00:03:31 +00:00
parent d75b9f1642
commit fae34ee719
8 changed files with 24 additions and 24 deletions

View File

@@ -48,7 +48,7 @@ public:
/**
* Find an AI by name.
*/
class AIInfo *FindInfo(const char *name, int version);
class AIInfo *FindInfo(const char *name, int version, bool force_exact_match);
/**
* Get the list of available AIs for the console.