there by accident.
git-svn-id: svn://svn.tartarus.org/sgt/puzzles@7351
cda61777-01e9-0310-a592-
d414129be87e
int px, py;
struct space *sp, *dot;
int px, py;
struct space *sp, *dot;
- if (button == 'H' || button == 'h' ||
- button == 'S' || button == 's') {
+ if (button == 'H' || button == 'h') {
char *ret;
game_state *tmp = dup_game(state);
char *ret;
game_state *tmp = dup_game(state);
- if (button == 'H' || button == 'h')
- solver_obvious(tmp);
- else
- solver_state(tmp, DIFF_UNREASONABLE-1);
- ret = diff_game(state, tmp, 1);
+ solver_obvious(tmp);
+ ret = diff_game(state, tmp, 0);
free_game(tmp);
return ret;
}
free_game(tmp);
return ret;
}