(main): Fix seeding of PRNG broken in rev. 1.22.
This commit is contained in:
parent
256724c39f
commit
9cd463f8bc
1 changed files with 1 additions and 1 deletions
|
@ -254,7 +254,7 @@ main(int argc, char **argv)
|
||||||
void
|
void
|
||||||
init_server(void)
|
init_server(void)
|
||||||
{
|
{
|
||||||
srand(time(NULL));
|
srandom(time(NULL));
|
||||||
#if defined(_WIN32)
|
#if defined(_WIN32)
|
||||||
loc_NTInit();
|
loc_NTInit();
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue