diff options
Diffstat (limited to 'src/ai/ai_instance.hpp')
-rw-r--r-- | src/ai/ai_instance.hpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/ai/ai_instance.hpp b/src/ai/ai_instance.hpp index 5bd3b58b5..688b3c133 100644 --- a/src/ai/ai_instance.hpp +++ b/src/ai/ai_instance.hpp @@ -85,14 +85,19 @@ public: static void SaveEmpty(); /** - * Load data from a savegame and call the AI Load function if it - * exists. + * Load data from a savegame and store it on the stack. * @param version The version of the AI when saving, or -1 if this was * not the original AI saving the game. */ void Load(int version); /** + * Call the AI Load function if it exists and data was loaded + * from a savegame. + */ + void CallLoad(); + + /** * Load and discard data from a savegame. */ static void LoadEmpty(); |