aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pegs.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/pegs.c b/pegs.c
index 32673d5..db9caf2 100644
--- a/pegs.c
+++ b/pegs.c
@@ -792,6 +792,12 @@ static void game_changed_state(game_ui *ui, const game_state *oldstate,
* unoccupied.
*/
ui->dragging = false;
+
+ /*
+ * Also, cancel a keyboard-driven jump if one is half way to being
+ * input.
+ */
+ ui->cur_jumping = false;
}
#define PREFERRED_TILE_SIZE 33