mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 08:01:30 -07:00
Cube's dup_game() function was missing a field. Oops.
[originally from svn r5789]
This commit is contained in:
1
cube.c
1
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));
|
||||
|
Reference in New Issue
Block a user