diff options
| author | Simon Tatham <anakin@pobox.com> | 2005-05-17 10:59:47 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2005-05-17 10:59:47 +0000 |
| commit | 6c3f422dde51d521ac8cd21fd4bd98df70217425 (patch) | |
| tree | 02118054c71c586c88af4be7a5f769ab0884e4a8 | |
| parent | 2534ec5d695a363775f73d62f153f946da01fa69 (diff) | |
| download | puzzles-6c3f422dde51d521ac8cd21fd4bd98df70217425.zip puzzles-6c3f422dde51d521ac8cd21fd4bd98df70217425.tar.gz puzzles-6c3f422dde51d521ac8cd21fd4bd98df70217425.tar.bz2 puzzles-6c3f422dde51d521ac8cd21fd4bd98df70217425.tar.xz | |
Cube's dup_game() function was missing a field. Oops.
[originally from svn r5789]
| -rw-r--r-- | cube.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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)); |