mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 08:01:30 -07:00
Incorrect placing of the polyhedron sometimes left it on a blue
square. Oops. [originally from svn r4175]
This commit is contained in:
2
cube.c
2
cube.c
@ -559,7 +559,7 @@ char *new_game_seed(game_params *params)
|
|||||||
/*
|
/*
|
||||||
* Choose a non-blue square for the polyhedron.
|
* 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(data.gridptrs[0]);
|
||||||
sfree(flags);
|
sfree(flags);
|
||||||
|
Reference in New Issue
Block a user