- fixed RNG setup in FxRandom.

This commit is contained in:
Christoph Oelckers 2018-11-17 10:06:01 +01:00 committed by drfrag
parent 9d126954d1
commit 05fd4d8b62

View file

@ -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);