--- a/src/GameState.hh Thu Dec 04 14:48:01 2008 +0000
+++ b/src/GameState.hh Thu Dec 04 15:06:08 2008 +0000
@@ -30,6 +30,8 @@
setShape(shape);
collision_elasticity = PLAYER_COLLISION_ELASTICITY;
world.addPlayerObject(this);
+ // TODO: DEBUG: remove
+// this->position = position-Vector(60, 40);
}
void debugInfo ();
--- a/src/Physics.cc Thu Dec 04 14:48:01 2008 +0000
+++ b/src/Physics.cc Thu Dec 04 15:06:08 2008 +0000
@@ -118,6 +118,7 @@
walk_one_step((1 < walkAmount ? 1 : walkAmount), right);
walkAmount--;
}
+ return reached;
}
/**