summaryrefslogtreecommitdiff
path: root/apps/plugins/puzzles/src/pegs.c
diff options
context:
space:
mode:
authorFranklin Wei <git@fwei.tk>2019-05-15 18:16:27 -0400
committerFranklin Wei <git@fwei.tk>2019-05-15 18:16:27 -0400
commitf940276fd9bc38ae34d4119fd1d983171a627400 (patch)
tree117a191e61c070548b4c55b35f6d1159f98f03f9 /apps/plugins/puzzles/src/pegs.c
parent4ed57276542124a22c26ebb1d307996fc3a7556c (diff)
downloadrockbox-f940276fd9bc38ae34d4119fd1d983171a627400.tar.gz
rockbox-f940276fd9bc38ae34d4119fd1d983171a627400.zip
puzzles: resync with upstream
This brings the puzzles source to upstream commit e2135d5. (I've made my own changes on top of that.) This brings in a couple bugfixes and a new solver for Dominosa. Change-Id: I11d46b43171787832330a5e2e0d2f353f36f727d
Diffstat (limited to 'apps/plugins/puzzles/src/pegs.c')
-rw-r--r--apps/plugins/puzzles/src/pegs.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/plugins/puzzles/src/pegs.c b/apps/plugins/puzzles/src/pegs.c
index 32673d56e7..db9caf298f 100644
--- a/apps/plugins/puzzles/src/pegs.c
+++ b/apps/plugins/puzzles/src/pegs.c
@@ -792,6 +792,12 @@ static void game_changed_state(game_ui *ui, const game_state *oldstate,
792 * unoccupied. 792 * unoccupied.
793 */ 793 */
794 ui->dragging = false; 794 ui->dragging = false;
795
796 /*
797 * Also, cancel a keyboard-driven jump if one is half way to being
798 * input.
799 */
800 ui->cur_jumping = false;
795} 801}
796 802
797#define PREFERRED_TILE_SIZE 33 803#define PREFERRED_TILE_SIZE 33