ref: db743e54e8a453491edbe02be6640f75154d5363
parent: f5dedef552daa5b08f375c47028b6c8b5a47c7d1
author: Simon Tatham <[email protected]>
date: Thu Mar 1 02:41:11 EST 2007
Cleanup patch from James H: disable the `s' key, which was only in there by accident. [originally from svn r7351]
--- a/galaxies.c
+++ b/galaxies.c
@@ -2197,15 +2197,11 @@
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;
}