changes needed due to library cleaning
[physics.git] / src / entityManager.cpp
index 62bcb2e..398901d 100644 (file)
@@ -20,6 +20,7 @@
 #include <pg/debug.h>
 #include <pg/Mutex.h>
 #include <pg/Autolock.h>
+using namespace pg;
 
 #include <set>
 #include <SDL/SDL.h>
@@ -66,8 +67,8 @@ void manager::clean()
 {
     collision::clean();
 
-    muSetPhys.clean();
-    muSetPart.clean();
+    muSetPhys.deinit();
+    muSetPart.deinit();
 }
 
 /// ***** Public Methods *****