Merge with -r 22620:23107.
[blender.git] / source / gameengine / GameLogic / SCA_PropertyEventManager.h
index f166065b198b62f7ef3c21ae47f9e96f1f1d688a..a9692377df80a89fad2fb4b9e63d1a6c7d89a3a4 100644 (file)
@@ -44,6 +44,13 @@ public:
        virtual ~SCA_PropertyEventManager();
        virtual void NextFrame();
        //SCA_LogicManager* GetLogicManager() { return m_logicmgr;}
+
+
+#ifdef WITH_CXX_GUARDEDALLOC
+public:
+       void *operator new( unsigned int num_bytes) { return MEM_mallocN(num_bytes, "GE:SCA_PropertyEventManager"); }
+       void operator delete( void *mem ) { MEM_freeN(mem); }
+#endif
 };
 
 #endif //__KX_PROPERTYEVENTMANAGER