svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r22717:22875
[blender.git] / source / gameengine / Ketsji / KX_WorldIpoController.h
index d90c03d09eefc7ed51c680d1944c4d577549a201..8622d80a35f8879ff4cbc0cdd219fdcd68546e43 100644 (file)
@@ -90,6 +90,13 @@ public:
        };
 
        void    AddInterpolator(KX_IInterpolator* interp);
+       
+       
+#ifdef WITH_CXX_GUARDEDALLOC
+public:
+       void *operator new( unsigned int num_bytes) { return MEM_mallocN(num_bytes, "GE:KX_WorldIpoController"); }
+       void operator delete( void *mem ) { MEM_freeN(mem); }
+#endif
 };
 
 #endif // KX_LIGHTIPOSGCONTROLLER_H