- Changed random seed initialization so that it uses the system's

cryptographically secure random number generator, if available, instead
  of the current time.
- Changed the random number generator from Lee Killough's algorithm to the
  SFMT607 variant of the Mersenne Twister.

SVN r1507 (trunk)
This commit is contained in:
Randy Heit 2009-03-27 04:49:17 +00:00
commit 7371c4a516
28 changed files with 2066 additions and 184 deletions

View file

@ -1580,7 +1580,7 @@ void D_DoomMain (void)
SetLanguageIDs ();
rngseed = (DWORD)time (NULL);
rngseed = I_MakeRNGSeed();
FRandom::StaticClearRandom ();
M_FindResponseFile ();