summaryrefslogtreecommitdiff
path: root/src/ai/ai_config.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ai/ai_config.hpp')
-rw-r--r--src/ai/ai_config.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ai/ai_config.hpp b/src/ai/ai_config.hpp
index e6790e22a..90c52b563 100644
--- a/src/ai/ai_config.hpp
+++ b/src/ai/ai_config.hpp
@@ -26,8 +26,10 @@ public:
/**
* Set another AI to be loaded in this slot.
+ * @param name The name of the AI.
+ * @param version The version of the AI to load, or -1 of latest.
*/
- void ChangeAI(const char *name);
+ void ChangeAI(const char *name, int version = -1);
/**
* When ever the AI Scanner is reloaded, all infos become invalid. This