mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-12-01 16:41:09 +00:00
- Fix assertion failure when using FRandom.
SVN r3759 (scripting)
This commit is contained in:
parent
562cf04db2
commit
615f49572b
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue