src/ai/api/ai_object.hpp
branchnoai
changeset 9679 788e083db48b
parent 9629 66dde6412125
child 9680 5ed7bbfd51c7
--- a/src/ai/api/ai_object.hpp	Thu Jul 19 16:17:10 2007 +0000
+++ b/src/ai/api/ai_object.hpp	Thu Jul 19 17:13:38 2007 +0000
@@ -7,6 +7,7 @@
 
 #include "../../stdafx.h"
 #include "../../functions.h"
+#include "../../misc/countedptr.hpp"
 
 /**
  * The callback function for Mode-classes.
@@ -19,7 +20,7 @@
  *   internally to have a common place to handle general things, like internal
  *   command processing, and command-validation checks.
  */
-class AIObject {
+class AIObject : public SimpleCountedObject {
 private:
 	struct AIDoCommandStruct {
 		AIModeProc *mode;