diff options
| author | Simon Tatham <anakin@pobox.com> | 2007-02-28 21:02:31 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2007-02-28 21:02:31 +0000 |
| commit | de5ccc9352d0156600c0ed1e87daac28015e8c01 (patch) | |
| tree | 8a21e59daab5f49f8e79ec7bd70002b620bf1bc4 /galaxies.c | |
| parent | e663595a5c2e8048f33a27ab911bc9f229231df8 (diff) | |
| download | puzzles-de5ccc9352d0156600c0ed1e87daac28015e8c01.zip puzzles-de5ccc9352d0156600c0ed1e87daac28015e8c01.tar.gz puzzles-de5ccc9352d0156600c0ed1e87daac28015e8c01.tar.bz2 puzzles-de5ccc9352d0156600c0ed1e87daac28015e8c01.tar.xz | |
Gary Wong points out a couple of minor errors in the setting of
`used_solve'.
[originally from svn r7343]
Diffstat (limited to 'galaxies.c')
| -rw-r--r-- | galaxies.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; |