removed bad comment
authornireco
Tue, 02 Dec 2008 00:23:16 +0000
changeset 174 073f25a84f60
parent 173 4251f8fa447d
child 175 c4a6af377a1a
removed bad comment
src/proto2/Physics.cc
--- a/src/proto2/Physics.cc	Tue Dec 02 00:20:58 2008 +0000
+++ b/src/proto2/Physics.cc	Tue Dec 02 00:23:16 2008 +0000
@@ -165,9 +165,6 @@
         // Check if any of the shapes points collide
         for (uint64_t i = 0; i < shape.size(); i++) {
             if (world.getType(reached+shape[i]) != EMPTY) {  // Collision
-                if(i == 0) {
-                    Engine::log(DEBUG, "PhysicsObject.updatePosition ") << "i==0 and collision. It should be impossible -> logic error, someone threw us inside gound.";
-                }
                 if (inAir) {
                     //                    Engine::log(DEBUG, "Here");
                     this->bounce(world.getNormal(reached+shape[i],