~mdw
/
sgt
/
puzzles
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix from James H for an assertion failure during Signpost
[sgt/puzzles]
/
signpost.c
diff --git
a/signpost.c
b/signpost.c
index
d4812a2
..
b6db3a3
100644
(file)
--- a/
signpost.c
+++ b/
signpost.c
@@
-752,6
+752,7
@@
static int new_game_strip(game_state *state, random_state *rs)
copy->flags[j] |= FLAG_IMMUTABLE;
state->flags[j] |= FLAG_IMMUTABLE;
debug_state("Copy of state: ", copy);
+ strip_nums(copy);
if (solve_state(copy) > 0) goto solved;
assert(check_nums(state, copy, 1));
}