summaryrefslogtreecommitdiff
path: root/src/ai/ai_storage.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ai/ai_storage.hpp')
-rw-r--r--src/ai/ai_storage.hpp4
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?