Fix invalid destruct on shortcut evaluation
This commit is contained in:
parent
84a0a9660f
commit
e80f9812ef
|
@ -3865,6 +3865,11 @@ Expression* Parser::AddFunctionCallRefReturned(Expression* exp)
|
|||
}
|
||||
}
|
||||
}
|
||||
else if (exp->mType == EX_LOGICAL_AND || exp->mType == EX_LOGICAL_OR)
|
||||
{
|
||||
lexp = AddFunctionCallRefReturned(exp->mLeft);
|
||||
exp->mRight = CleanupExpression(exp->mRight);
|
||||
}
|
||||
else
|
||||
{
|
||||
if (exp->mLeft)
|
||||
|
|
Loading…
Reference in New Issue