src/PhysicsObject.cc
changeset 223 2fcaf54ed37b
parent 222 293ddf4c067d
child 225 22ecb9cb9245
--- a/src/PhysicsObject.cc	Sat Dec 06 17:51:19 2008 +0000
+++ b/src/PhysicsObject.cc	Sat Dec 06 18:49:51 2008 +0000
@@ -11,11 +11,7 @@
 }
 
 PhysicsObject::~PhysicsObject (void) {
-    Engine::log(DEBUG, "PhysicsObject.destructor") << this /* << ": objects.size=" << ((int) world.objects.size()) */;
-
-    // world.objects.remove(this);
-
-    Engine::log(DEBUG, "PhysicsObject.destructor") << this /* << ": objects.size=" << ((int) world.objects.size()) */;
+    // Engine::log(DEBUG, "PhysicsObject.destructor") << this /* << ": objects.size=" << ((int) world.objects.size()) */;
 }
 
 /**
@@ -146,10 +142,8 @@
     // If the worm is not in the air make it walk,
     // otherwise integrate the new position and velocity
     if (!this->inAir) {
-        //std::cout << "Tryin to walk" << std::endl;
         // It walks only if there's some vertical force
         if (total.x != 0) {
-            std::cout << "Succeeding to walk" << std::endl;
             walk(dt, total.x > 0);
             this->velocity = Vector(0,0);
         }