From f01f82105e5feb2586a2ca257947d76e9b982d04 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Fri, 17 Jun 2005 18:54:58 +0000 Subject: Infrastructure change which I've been thinking about for a while: the back end function solve_game() now takes the _current_ game_state in addition to the initial one. [originally from svn r5969] --- rect.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rect.c') diff --git a/rect.c b/rect.c index 46060a4..0940cdd 100644 --- a/rect.c +++ b/rect.c @@ -1769,8 +1769,8 @@ static void free_game(game_state *state) sfree(state); } -static game_state *solve_game(game_state *state, game_aux_info *ai, - char **error) +static game_state *solve_game(game_state *state, game_state *currstate, + game_aux_info *ai, char **error) { game_state *ret; -- cgit v1.1