diff options
author | truebrain <truebrain@openttd.org> | 2011-11-29 23:15:35 +0000 |
---|---|---|
committer | truebrain <truebrain@openttd.org> | 2011-11-29 23:15:35 +0000 |
commit | 98103121d4f2ed1f1581919b7b1f343ccd410c12 (patch) | |
tree | 1e760dd6517a6b0f9fb669ec277139a8e3f9a4a3 /src/ai/ai_storage.hpp | |
parent | afdb67a3534f85b4efbd3327ece8137211042d7b (diff) | |
download | openttd-98103121d4f2ed1f1581919b7b1f343ccd410c12.tar.xz |
(svn r23355) -Codechange: rename all AI* to Script* (Rubidium)
Diffstat (limited to 'src/ai/ai_storage.hpp')
-rw-r--r-- | src/ai/ai_storage.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ai/ai_storage.hpp b/src/ai/ai_storage.hpp index 381cb0db2..8e832dfb9 100644 --- a/src/ai/ai_storage.hpp +++ b/src/ai/ai_storage.hpp @@ -29,10 +29,10 @@ typedef bool (AIModeProc)(); * The storage for each AI. It keeps track of important information. */ class AIStorage { -friend class AIObject; +friend class ScriptObject; private: AIModeProc *mode; ///< The current build mode we are int. - class AIObject *mode_instance; ///< The instance belonging to the current build mode. + class ScriptObject *mode_instance; ///< The instance belonging to the current build mode. uint delay; ///< The ticks of delay each DoCommand has. bool allow_do_command; ///< Is the usage of DoCommands restricted? |