Changed jump behaviour: Tux will now jump even if the button was pressed (up to)...
[supertux.git] / src / object / player.hpp
index d76d21a..91a1fcf 100644 (file)
@@ -86,6 +86,7 @@ public:
   bool on_ground_flag;
   bool jumping;
   bool can_jump;
+  Timer jump_button_timer; /**< started when player presses the jump button; runs until Tux jumps or JUMP_GRACE_TIME runs out */
   bool wants_buttjump;
   bool does_buttjump;