--- 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;