- Added an 'srand' call to the RBG initialization.

This is needed because 'rand' gets used by parts of the sound code (e.g. playlists.)
This commit is contained in:
Christoph Oelckers 2017-07-15 09:34:07 +02:00
parent daca12600d
commit ac30e47ab4
1 changed files with 1 additions and 0 deletions

View File

@ -2055,6 +2055,7 @@ static void D_DoomInit()
rngseed = I_MakeRNGSeed();
use_staticrng = false;
}
srand(rngseed);
FRandom::StaticClearRandom ();