chiark
/
gitweb
/
~ian
/
sgt-puzzles.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e663595
)
Gary Wong points out a couple of minor errors in the setting of
author
Simon Tatham
<anakin@pobox.com>
Wed, 28 Feb 2007 21:02:31 +0000
(21:02 +0000)
committer
Simon Tatham
<anakin@pobox.com>
Wed, 28 Feb 2007 21:02:31 +0000
(21:02 +0000)
`used_solve'.
[originally from svn r7343]
galaxies.c
patch
|
blob
|
history
diff --git
a/galaxies.c
b/galaxies.c
index d7a90a45055a530e3f5041a90f6380553b3c3f3c..4c69de0b44ccaca50ae51a095f85fb904325007a 100644
(file)
--- a/
galaxies.c
+++ b/
galaxies.c
@@
-2205,7
+2205,7
@@
static char *interpret_move(game_state *state, game_ui *ui, game_drawstate *ds,
solver_obvious(tmp);
else
solver_state(tmp, DIFF_UNREASONABLE-1);
- ret = diff_game(state, tmp,
0
);
+ ret = diff_game(state, tmp,
1
);
free_game(tmp);
return ret;
}
@@
-2594,6
+2594,7
@@
static game_state *execute_move(game_state *state, char *move)
#endif
} else if (c == 'S') {
move++;
+ ret->used_solve = 1;
} else
goto badmove;