mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 16:05:44 -07:00
Gary Wong points out a couple of minor errors in the setting of
`used_solve'. [originally from svn r7343]
This commit is contained in:
@ -2205,7 +2205,7 @@ static char *interpret_move(game_state *state, game_ui *ui, game_drawstate *ds,
|
|||||||
solver_obvious(tmp);
|
solver_obvious(tmp);
|
||||||
else
|
else
|
||||||
solver_state(tmp, DIFF_UNREASONABLE-1);
|
solver_state(tmp, DIFF_UNREASONABLE-1);
|
||||||
ret = diff_game(state, tmp, 0);
|
ret = diff_game(state, tmp, 1);
|
||||||
free_game(tmp);
|
free_game(tmp);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
@ -2594,6 +2594,7 @@ static game_state *execute_move(game_state *state, char *move)
|
|||||||
#endif
|
#endif
|
||||||
} else if (c == 'S') {
|
} else if (c == 'S') {
|
||||||
move++;
|
move++;
|
||||||
|
ret->used_solve = 1;
|
||||||
} else
|
} else
|
||||||
goto badmove;
|
goto badmove;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user