mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-24 13:01:47 +00:00
- Fixed: FxRandom didn't properly initialize.
SVN r1267 (trunk)
This commit is contained in:
parent
8d5b595adc
commit
fff3d9c228
1 changed files with 1 additions and 1 deletions
|
@ -1253,7 +1253,7 @@ FxRandom::FxRandom(FRandom * r, FxExpression *mi, FxExpression *ma, const FScrip
|
|||
: FxExpression(pos)
|
||||
{
|
||||
rng = r;
|
||||
if (min && max)
|
||||
if (mi && ma)
|
||||
{
|
||||
min = new FxIntCast(mi);
|
||||
max = new FxIntCast(ma);
|
||||
|
|
Loading…
Reference in a new issue