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
|
|
@ -576,7 +576,7 @@ static FRandom *ParseRNG(FScanner &sc, bool client)
|
|||
}
|
||||
else
|
||||
{
|
||||
rng = &pr_exrandom;
|
||||
rng = client ? &M_Random : &pr_exrandom;
|
||||
}
|
||||
return rng;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue