--- a/src/proto2/GameState.cc Wed Dec 03 14:25:23 2008 +0000
+++ b/src/proto2/GameState.cc Wed Dec 03 16:47:17 2008 +0000
@@ -46,16 +46,6 @@
jump(0);
}
- this->changeAim(da); // Move crosshair
-
- // Player facing
- if (fx < 0) setFacing(false);
- else if (fx > 0) setFacing(true);
-
- // Apply force
- applyForce(Vector(fx, 0));
-
- // dig/shoot or something
if (input & INPUT_MOVE_DIG) {
// Should create Shot which destroys ground, but also should be destroyed then,
// but it doesn't.
@@ -68,6 +58,19 @@
if (input & INPUT_SHOOT) {
this->shoot();
}
+
+
+
+ // Player facing
+ if (fx < 0) setFacing(false);
+ else if (fx > 0) setFacing(true);
+
+
+ this->changeAim(da); // Move crosshair
+
+ // Apply force
+ applyForce(Vector(fx, 0));
+
}
void Player::debugInfo (void) {