diff --git a/src/ai/ai_instance.hpp b/src/ai/ai_instance.hpp --- a/src/ai/ai_instance.hpp +++ b/src/ai/ai_instance.hpp @@ -155,12 +155,6 @@ public: void Load(int version); /** - * Call the AI Load function if it exists and data was loaded - * from a savegame. - */ - bool CallLoad(); - - /** * Load and discard data from a savegame. */ static void LoadEmpty(); @@ -207,6 +201,12 @@ private: void Died(); /** + * Call the AI Load function if it exists and data was loaded + * from a savegame. + */ + bool CallLoad(); + + /** * Save one object (int / string / array / table) to the savegame. * @param vm The virtual machine to get all the data from. * @param index The index on the squirrel stack of the element to save.