- Fixed: FRandom told the expression evaluator that it returned an int instead of a float, so

using it in in any expression would automatically downcast it to an int unless ① its sibling in the expression tree was a float, or ② it was the only thing in the expression.

SVN r3721 (trunk)
This commit is contained in:
Randy Heit 2012-07-01 03:16:37 +00:00
parent ce8ca26bc9
commit 4bbc9266e2
1 changed files with 1 additions and 0 deletions

View File

@ -1698,6 +1698,7 @@ FxFRandom::FxFRandom(FRandom *r, FxExpression *mi, FxExpression *ma, const FScri
min = mi; min = mi;
max = ma; max = ma;
} }
ValueType = VAL_Float;
} }
//========================================================================== //==========================================================================