mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-06-02 18:21:05 +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::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);
|
assert(mi && ma);
|
||||||
min = new FxIntCast(mi, nowarn);
|
min = new FxIntCast(mi, nowarn);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue