diff options
Diffstat (limited to 'apps/plugins/puzzles/pearl.c')
-rw-r--r-- | apps/plugins/puzzles/pearl.c | 2 |
1 files changed, 0 insertions, 2 deletions
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) | |||
1610 | */ | 1610 | */ |
1611 | for (i = 0; i < w*h; i++) { | 1611 | for (i = 0; i < w*h; i++) { |
1612 | int comp = dsf_canonify(dsf, i); | 1612 | int comp = dsf_canonify(dsf, i); |
1613 | if (component_state[comp] == COMP_PATH) | ||
1614 | comp = -1; /* part of the 'all paths' quasi-component */ | ||
1615 | if ((component_state[comp] == COMP_PATH && | 1613 | if ((component_state[comp] == COMP_PATH && |
1616 | -1 != largest_comp) || | 1614 | -1 != largest_comp) || |
1617 | (component_state[comp] == COMP_LOOP && | 1615 | (component_state[comp] == COMP_LOOP && |