diff options
author | truebrain <truebrain@openttd.org> | 2011-11-13 20:41:17 +0000 |
---|---|---|
committer | truebrain <truebrain@openttd.org> | 2011-11-13 20:41:17 +0000 |
commit | 70b6b3cc2ce7eb37679ce6f4d26f54fd790589fc (patch) | |
tree | 6db3f6f28bf2e498b8cd522a946ee51e1476df08 /src/ai/ai_instance.hpp | |
parent | 049bea1e8a4573f7f841ba77f579516d7b5e793a (diff) | |
download | openttd-70b6b3cc2ce7eb37679ce6f4d26f54fd790589fc.tar.xz |
(svn r23207) -Codechange: make functions private/protected/public depending on their current usage (and reorder functions a bit)
Diffstat (limited to 'src/ai/ai_instance.hpp')
-rw-r--r-- | src/ai/ai_instance.hpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/ai/ai_instance.hpp b/src/ai/ai_instance.hpp index d66854563..65884dc71 100644 --- 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. |