changes needed due to library cleaning
authorPatrik Gornicz <Gornicz.P@gmail.com>
Sat, 16 May 2009 18:06:10 +0000 (14:06 -0400)
committerPatrik Gornicz <Gornicz.P@gmail.com>
Sat, 16 May 2009 18:08:46 +0000 (14:08 -0400)
src/entityManager.cpp
src/main.cpp

index 7290373..398901d 100644 (file)
@@ -67,8 +67,8 @@ void manager::clean()
 {
     collision::clean();
 
-    muSetPhys.clean();
-    muSetPart.clean();
+    muSetPhys.deinit();
+    muSetPart.deinit();
 }
 
 /// ***** Public Methods *****
index a6aaca3..65161a0 100644 (file)
 #include <pg/debug.h>
 using namespace pg;
 
+#include <iostream>
+using std::cout;
+using std::endl;
+
 #include <GL/gl.h>
 #include <GL/glu.h>
 #include <SDL/SDL.h>
@@ -108,7 +112,7 @@ void mainInit()
 }
 void mainClean()
 {
-    debug::clean();
+    debug::deinit();
 }
 
 void updatesInit()