aboutsummaryrefslogtreecommitdiff
path: root/unequal.c
diff options
context:
space:
mode:
Diffstat (limited to 'unequal.c')
-rw-r--r--unequal.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/unequal.c b/unequal.c
index 12d84bf..cb477c9 100644
--- a/unequal.c
+++ b/unequal.c
@@ -1566,7 +1566,9 @@ static game_state *execute_move(const game_state *state, const char *move)
}
return ret;
} else if (move[0] == 'H') {
- return solver_hint(state, NULL, DIFF_EASY, DIFF_EASY);
+ ret = solver_hint(state, NULL, DIFF_EASY, DIFF_EASY);
+ check_complete(ret->nums, ret, 1);
+ return ret;
} else if (move[0] == 'F' && sscanf(move+1, "%d,%d,%d", &x, &y, &n) == 3 &&
x >= 0 && x < state->order && y >= 0 && y < state->order) {
ret = dup_game(state);