mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 14:51:51 +00:00
- Fixed: FxAbs::Resolve() called isNumeric() on the wrong ValueType (which is not initialized until the end of the function).
SVN r3171 (trunk)
This commit is contained in:
parent
3344fa9f30
commit
ddac7de3fe
1 changed files with 1 additions and 1 deletions
|
@ -1550,7 +1550,7 @@ FxExpression *FxAbs::Resolve(FCompileContext &ctx)
|
|||
SAFE_RESOLVE(val, ctx);
|
||||
|
||||
|
||||
if (!ValueType.isNumeric())
|
||||
if (!val->ValueType.isNumeric())
|
||||
{
|
||||
ScriptPosition.Message(MSG_ERROR, "Numeric type expected");
|
||||
delete this;
|
||||
|
|
Loading…
Reference in a new issue