- 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

View file

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