mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-01-21 08:51:30 +00:00
Seed the new PRNG at startup
This commit is contained in:
parent
97f7ba0610
commit
7bd1392a5a
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