From 6e5f287606a3039ee26eb4fc8c8f7a05deebe9f0 Mon Sep 17 00:00:00 2001 From: Franklin Wei Date: Sun, 1 Jan 2017 14:57:30 -0500 Subject: Fixes and re-sync for puzzles - Updates to latest upstream (7cae89fb4b22c305b3fd98b4e1be065ad527a9f7). - Also fixes a bug relating to updating parts of the display. - Adds some docs. Change-Id: Idfcce66e0cf3c59e467bab42eafc161df2e495bb --- apps/plugins/puzzles/pearl.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'apps/plugins/puzzles/pearl.c') diff --git a/apps/plugins/puzzles/pearl.c b/apps/plugins/puzzles/pearl.c index 59effeda40..1f41f65af2 100644 --- a/apps/plugins/puzzles/pearl.c +++ b/apps/plugins/puzzles/pearl.c @@ -1610,8 +1610,6 @@ static void check_completion(game_state *state, int mark) */ for (i = 0; i < w*h; i++) { int comp = dsf_canonify(dsf, i); - if (component_state[comp] == COMP_PATH) - comp = -1; /* part of the 'all paths' quasi-component */ if ((component_state[comp] == COMP_PATH && -1 != largest_comp) || (component_state[comp] == COMP_LOOP && -- cgit v1.2.3