- Fixed: FxRandom didn't properly initialize.

SVN r1267 (trunk)
This commit is contained in:
Christoph Oelckers 2008-10-18 23:22:26 +00:00
parent 8d5b595adc
commit fff3d9c228
1 changed files with 1 additions and 1 deletions

View File

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