diff options
| author | Simon Tatham <anakin@pobox.com> | 2004-04-30 10:11:53 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2004-04-30 10:11:53 +0000 |
| commit | 3cc2c00e69c888c6cd797e0ad0663c0ba1d7ce0c (patch) | |
| tree | 7f96a940112e6a9e481cee6fce91edf53d6fe681 /cube.c | |
| parent | a8c8237bd0362e4fe44a451eb81544b451ae4444 (diff) | |
| download | puzzles-3cc2c00e69c888c6cd797e0ad0663c0ba1d7ce0c.zip puzzles-3cc2c00e69c888c6cd797e0ad0663c0ba1d7ce0c.tar.gz puzzles-3cc2c00e69c888c6cd797e0ad0663c0ba1d7ce0c.tar.bz2 puzzles-3cc2c00e69c888c6cd797e0ad0663c0ba1d7ce0c.tar.xz | |
Incorrect placing of the polyhedron sometimes left it on a blue
square. Oops.
[originally from svn r4175]
Diffstat (limited to 'cube.c')
| -rw-r--r-- | cube.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -559,7 +559,7 @@ char *new_game_seed(game_params *params) /* * Choose a non-blue square for the polyhedron. */ - sprintf(p, ":%d", rand_upto(m)); + sprintf(p, ":%d", data.gridptrs[0][rand_upto(m)]); sfree(data.gridptrs[0]); sfree(flags); |