mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 14:51:40 +00:00
- 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:
parent
daca12600d
commit
ac30e47ab4
1 changed files with 1 additions and 0 deletions
|
@ -2055,6 +2055,7 @@ static void D_DoomInit()
|
|||
rngseed = I_MakeRNGSeed();
|
||||
use_staticrng = false;
|
||||
}
|
||||
srand(rngseed);
|
||||
|
||||
FRandom::StaticClearRandom ();
|
||||
|
||||
|
|
Loading…
Reference in a new issue