diff options
| author | Simon Tatham <anakin@pobox.com> | 2010-04-17 13:27:12 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2010-04-17 13:27:12 +0000 |
| commit | 945d8f0a3a9bfe2702170a75484271c71931b2eb (patch) | |
| tree | ff1b768d9763a5f1563de0f98076d4ae737f431a | |
| parent | c0f8b08833f45a6d7aef1086778c9bc479fdefb3 (diff) | |
| download | puzzles-945d8f0a3a9bfe2702170a75484271c71931b2eb.zip puzzles-945d8f0a3a9bfe2702170a75484271c71931b2eb.tar.gz puzzles-945d8f0a3a9bfe2702170a75484271c71931b2eb.tar.bz2 puzzles-945d8f0a3a9bfe2702170a75484271c71931b2eb.tar.xz | |
Fix from James H for an assertion failure during Signpost
generation. To reproduce, try 'signpost --generate 1 7x7#12345-162'.
[originally from svn r8921]
| -rw-r--r-- | signpost.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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)); } |