mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-10 07:12:07 +00:00
Seed the new PRNG at startup
This commit is contained in:
parent
056f4d287b
commit
253373dbda
1 changed files with 4 additions and 0 deletions
|
@ -79,7 +79,11 @@ main ( int argc, char **argv )
|
|||
|
||||
printf("Platform: %s\n", BUILDSTRING);
|
||||
printf("Architecture: %s\n", CPUSTRING);
|
||||
|
||||
/* Seed PRNG */
|
||||
randk_seed();
|
||||
|
||||
/* Initialze the game */
|
||||
Qcommon_Init( argc, argv );
|
||||
|
||||
fcntl( 0, F_SETFL, fcntl( 0, F_GETFL, 0 ) | FNDELAY );
|
||||
|
|
Loading…
Reference in a new issue