Reworked FRandom constructors
Removes ambiguity while keeping old constructor syntax in check for better overall portability.
This commit is contained in:
parent
a1a4a97dcd
commit
3ea5be1ea7
42 changed files with 130 additions and 119 deletions
|
|
@ -1163,7 +1163,7 @@ TArray<uint8_t> DoomSoundEngine::ReadSound(int lumpnum)
|
|||
// This is overridden to use a synchronized RNG.
|
||||
//
|
||||
//==========================================================================
|
||||
static FRandom pr_randsound("RandSound", true);
|
||||
static FCRandom pr_randsound("RandSound");
|
||||
|
||||
FSoundID DoomSoundEngine::PickReplacement(FSoundID refid)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -288,7 +288,7 @@ static const hexenseq_t HexenSequences[] = {
|
|||
|
||||
static int SeqTrans[MAX_SNDSEQS*3];
|
||||
|
||||
static FRandom pr_sndseq ("SndSeq", true);
|
||||
static FCRandom pr_sndseq ("SndSeq");
|
||||
|
||||
// CODE --------------------------------------------------------------------
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue