Seed the new PRNG at startup

This commit is contained in:
Yamagi Burmeister 2012-06-02 10:59:43 +02:00
parent 056f4d287b
commit 253373dbda

View file

@ -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 );