summaryrefslogtreecommitdiff
path: root/src/ai/ai_instance.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ai/ai_instance.hpp')
-rw-r--r--src/ai/ai_instance.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ai/ai_instance.hpp b/src/ai/ai_instance.hpp
index d953c3915..5bd3b58b5 100644
--- a/src/ai/ai_instance.hpp
+++ b/src/ai/ai_instance.hpp
@@ -87,9 +87,10 @@ public:
/**
* Load data from a savegame and call the AI Load function if it
* exists.
- * @return True if the loading was successfull.
+ * @param version The version of the AI when saving, or -1 if this was
+ * not the original AI saving the game.
*/
- bool Load();
+ void Load(int version);
/**
* Load and discard data from a savegame.