- Fix assertion failure when using FRandom.

SVN r3759 (scripting)
This commit is contained in:
Randy Heit 2012-07-14 03:10:47 +00:00
parent 562cf04db2
commit 615f49572b

View file

@ -2420,8 +2420,8 @@ FxExpression *FxRandom::Resolve(FCompileContext &ctx)
RESOLVE(min, ctx);
RESOLVE(max, ctx);
ABORT(min && max);
assert(min->ValueType == VAL_Int);
assert(max->ValueType == VAL_Int);
assert(min->ValueType == ValueType.Type);
assert(max->ValueType == ValueType.Type);
}
return this;
};