From: Patrik Gornicz Date: Sat, 16 May 2009 18:06:10 +0000 (-0400) Subject: changes needed due to library cleaning X-Git-Url: http://gitweb.pgornicz.com/gitweb.cgi?p=physics.git;a=commitdiff_plain;h=7cc180e4add43f331cb51a8bebd9bd1fdac04258 changes needed due to library cleaning --- diff --git a/src/entityManager.cpp b/src/entityManager.cpp index 7290373..398901d 100644 --- a/src/entityManager.cpp +++ b/src/entityManager.cpp @@ -67,8 +67,8 @@ void manager::clean() { collision::clean(); - muSetPhys.clean(); - muSetPart.clean(); + muSetPhys.deinit(); + muSetPart.deinit(); } /// ***** Public Methods ***** diff --git a/src/main.cpp b/src/main.cpp index a6aaca3..65161a0 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -18,6 +18,10 @@ #include using namespace pg; +#include +using std::cout; +using std::endl; + #include #include #include @@ -108,7 +112,7 @@ void mainInit() } void mainClean() { - debug::clean(); + debug::deinit(); } void updatesInit()