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/script/api/script_testmode.hpp | |
parent | afdb67a3534f85b4efbd3327ece8137211042d7b (diff) | |
download | openttd-98103121d4f2ed1f1581919b7b1f343ccd410c12.tar.xz |
(svn r23355) -Codechange: rename all AI* to Script* (Rubidium)
Diffstat (limited to 'src/script/api/script_testmode.hpp')
-rw-r--r-- | src/script/api/script_testmode.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/script/api/script_testmode.hpp b/src/script/api/script_testmode.hpp index a6a3c8da8..6954146a9 100644 --- a/src/script/api/script_testmode.hpp +++ b/src/script/api/script_testmode.hpp @@ -23,10 +23,10 @@ * system only checks if it would be able to execute your requests, and what * the cost would be. */ -class AITestMode : public AIObject { +class ScriptTestMode : public ScriptObject { private: AIModeProc *last_mode; ///< The previous mode we were in. - AIObject *last_instance; ///< The previous instace of the mode. + ScriptObject *last_instance; ///< The previous instace of the mode. protected: /** @@ -40,13 +40,13 @@ public: * @note When the instance is destroyed, he restores the mode that was * current when the instance was created! */ - AITestMode(); + ScriptTestMode(); /** * Destroying this instance reset the building mode to the mode it was * in when the instance was created. */ - ~AITestMode(); + ~ScriptTestMode(); }; #endif /* SCRIPT_TESTMODE_HPP */ |