mirror of
https://github.com/ZDoom/qzdoom.git
synced 2025-02-17 17:41:23 +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)
|
: FxExpression(pos)
|
||||||
{
|
{
|
||||||
rng = r;
|
rng = r;
|
||||||
if (min && max)
|
if (mi && ma)
|
||||||
{
|
{
|
||||||
min = new FxIntCast(mi);
|
min = new FxIntCast(mi);
|
||||||
max = new FxIntCast(ma);
|
max = new FxIntCast(ma);
|
||||||
|
|
Loading…
Reference in a new issue