From 709b36d48bba3b9148c9f7f4893f0b743675b6a4 Mon Sep 17 00:00:00 2001 From: simon Date: Wed, 28 Feb 2007 21:02:31 +0000 Subject: [PATCH] Gary Wong points out a couple of minor errors in the setting of `used_solve'. git-svn-id: svn://svn.tartarus.org/sgt/puzzles@7343 cda61777-01e9-0310-a592-d414129be87e --- galaxies.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/galaxies.c b/galaxies.c index d7a90a4..4c69de0 100644 --- 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; -- 2.11.0