Index: branches/presentation/src/lib/collision_reaction/cr_physics_ground_walk.cc
===================================================================
--- branches/presentation/src/lib/collision_reaction/cr_physics_ground_walk.cc	(revision 9100)
+++ branches/presentation/src/lib/collision_reaction/cr_physics_ground_walk.cc	(revision 9101)
@@ -94,5 +94,5 @@
     switch( ce->getType())
     {
-      /* collision in the X-AXIS */
+        /* collision in the X-AXIS */
       case COLLISION_TYPE_AXIS_X:
         front = collPos.len() - box->halfLength[0];
@@ -101,14 +101,15 @@
         if( front <= 0.0f )
         {
-          Vector dirX = entity->getAbsDirX(); dirX.y = 0.0f; dirX.normalize();
+          Vector dirX = entity->getAbsDirX();
+          dirX.y = 0.0f;
+          dirX.normalize();
           Vector backoff = dirX * front;
 
-          //entity->setAbsCoor(entity->getLastAbsCoor());
-          entity->shiftCoor(backoff);
-        }
-        // object is already in the wall
-        else if( ce->isInWall())
-        {
-              entity->setAbsCoor(entity->getLastAbsCoor());
+          entity->shiftCoor(backoff);
+        }
+        else if( ce->isInWall())
+        {
+          // object is already in the wall
+          entity->setAbsCoor(entity->getLastAbsCoor());
         }
         break;
@@ -122,14 +123,15 @@
         if( back <= 0.0f)
         {
-          Vector dirX = entity->getAbsDirX(); dirX.y = 0.0f; dirX.normalize();
+          Vector dirX = entity->getAbsDirX();
+          dirX.y = 0.0f;
+          dirX.normalize();
           Vector backoff = dirX * back * -1.0f;
 
-           //entity->setAbsCoor(entity->getLastAbsCoor());
-           entity->shiftCoor(backoff);
-        }
-        // object is already in the wall
-        else if( ce->isInWall())
-        {
-           entity->setAbsCoor(entity->getLastAbsCoor());
+          entity->shiftCoor(backoff);
+        }
+        else if( ce->isInWall())
+        {
+          // object is already in the wall
+          entity->setAbsCoor(entity->getLastAbsCoor());
         }
         break;
@@ -143,5 +145,5 @@
 
         // object is beneath the plane (ground)
-//         if(height >= 0.0f && height <= 0.0001f) break ;// Do nothing
+        //         if(height >= 0.0f && height <= 0.0001f) break ;// Do nothing
         if( height < 0.0f && -height < CR_MAX_WALK_HEIGHT)
         {
@@ -163,26 +165,27 @@
 
 
+        /* collision in the Z-AXIS */
+      case COLLISION_TYPE_AXIS_Z:
+
+        right = collPos.len()  - box->halfLength[2];
+
+        // object is beneath the plane (ground)
+        if( right <= 0.0f )
+        {
+          Vector dirZ = entity->getAbsDirZ();
+          dirZ.y = 0.0f;
+          dirZ.normalize();
+          Vector backoff = dirZ * right;
+          entity->shiftCoor(backoff);
+        }
+        else if( ce->isInWall())
+        {
+          // object is already in the wall
+          entity->setAbsCoor(entity->getLastAbsCoor());
+        }
+        break;
+
+
         // collision in the z-axis
-      case COLLISION_TYPE_AXIS_Z:
-
-        right = collPos.len()  - box->halfLength[2];
-
-        // object is beneath the plane (ground)
-        if( right <= 0.0f )
-        {
-          entity->setAbsCoor(entity->getAbsCoor());
-          Vector dirZ = entity->getAbsDirZ(); dirZ.y = 0.0f; dirZ.normalize();
-          Vector backoff = dirZ * right;
-          entity->shiftCoor(backoff);
-        }
-        // object is already in the wall
-        else if( ce->isInWall())
-        {
-          entity->setAbsCoor(entity->getLastAbsCoor());
-        }
-        break;
-
-
-         // collision in the z-axis
       case COLLISION_TYPE_AXIS_Z_NEG:
 
@@ -192,5 +195,7 @@
         if( left <= 0.0f )
         {
-          Vector dirZ = entity->getAbsDirZ(); dirZ.y = 0.0f; dirZ.normalize();
+          Vector dirZ = entity->getAbsDirZ();
+          dirZ.y = 0.0f;
+          dirZ.normalize();
           Vector backoff = dirZ * left*-1.0f;
           entity->shiftCoor(backoff);
