Merge with -r 22620:23107.
[blender.git] / source / gameengine / GameLogic / SCA_PropertyEventManager.h
index aaa303a52c80e7d41417175be452db7910797396..a9692377df80a89fad2fb4b9e63d1a6c7d89a3a4 100644 (file)
@@ -43,8 +43,14 @@ public:
        SCA_PropertyEventManager(class SCA_LogicManager* logicmgr);
        virtual ~SCA_PropertyEventManager();
        virtual void NextFrame();
-       virtual void    RegisterSensor(SCA_ISensor* sensor);
        //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