mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-16 09:31:14 +00:00
- fixed RNG setup in FxRandom.
This commit is contained in:
parent
9d126954d1
commit
05fd4d8b62
1 changed files with 1 additions and 1 deletions
|
@ -5461,7 +5461,7 @@ FxRandom::FxRandom(EFxType type, FRandom * r, const FScriptPosition &pos)
|
|||
//
|
||||
//==========================================================================
|
||||
FxRandom::FxRandom(FRandom * r, FxExpression *mi, FxExpression *ma, const FScriptPosition &pos, bool nowarn)
|
||||
: FxRandom(EFX_Random, rng, pos)
|
||||
: FxRandom(EFX_Random, r, pos)
|
||||
{
|
||||
assert(mi && ma);
|
||||
min = new FxIntCast(mi, nowarn);
|
||||
|
|
Loading…
Reference in a new issue