aboutsummaryrefslogtreecommitdiff
path: root/galaxies.c
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2007-03-01 07:41:11 +0000
committerSimon Tatham <anakin@pobox.com>2007-03-01 07:41:11 +0000
commitdb743e54e8a453491edbe02be6640f75154d5363 (patch)
tree027fff6e3ada60bb507caea1bf1c234618a6fab5 /galaxies.c
parentf5dedef552daa5b08f375c47028b6c8b5a47c7d1 (diff)
downloadpuzzles-db743e54e8a453491edbe02be6640f75154d5363.zip
puzzles-db743e54e8a453491edbe02be6640f75154d5363.tar.gz
puzzles-db743e54e8a453491edbe02be6640f75154d5363.tar.bz2
puzzles-db743e54e8a453491edbe02be6640f75154d5363.tar.xz
Cleanup patch from James H: disable the `s' key, which was only in
there by accident. [originally from svn r7351]
Diffstat (limited to 'galaxies.c')
-rw-r--r--galaxies.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/galaxies.c b/galaxies.c
index bfb558d..e1bc5b5 100644
--- a/galaxies.c
+++ b/galaxies.c
@@ -2197,15 +2197,11 @@ static char *interpret_move(game_state *state, game_ui *ui, game_drawstate *ds,
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);
- 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;
}