From: Simon Tatham Date: Tue, 17 May 2005 10:59:47 +0000 (+0000) Subject: Cube's dup_game() function was missing a field. Oops. X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=6c3f422dde51d521ac8cd21fd4bd98df70217425;p=sgt-puzzles.git Cube's dup_game() function was missing a field. Oops. [originally from svn r5789] --- diff --git a/cube.c b/cube.c index becf5db..12e3ece 100644 --- a/cube.c +++ b/cube.c @@ -957,6 +957,7 @@ static game_state *dup_game(game_state *state) memcpy(ret->facecolours, state->facecolours, ret->solid->nfaces * sizeof(int)); ret->nsquares = state->nsquares; + ret->current = state->current; ret->squares = snewn(ret->nsquares, struct grid_square); memcpy(ret->squares, state->squares, ret->nsquares * sizeof(struct grid_square));