mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 08:01:30 -07:00
Cleanup: rename random_init() to random_new(), because it actually
_allocates_ a random_state rather than just initialising one passed in by the caller. [originally from svn r6412]
This commit is contained in:
2
map.c
2
map.c
@ -1868,7 +1868,7 @@ static game_state *new_game(midend *me, game_params *params, char *desc)
|
||||
* outlines by the judicious use of diagonally divided squares.
|
||||
*/
|
||||
{
|
||||
random_state *rs = random_init(desc, strlen(desc));
|
||||
random_state *rs = random_new(desc, strlen(desc));
|
||||
int *squares = snewn(wh, int);
|
||||
int done_something;
|
||||
|
||||
|
Reference in New Issue
Block a user