mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 03:52:19 +02:00
Allowing params expr on normal expressions
This commit is contained in:
parent
754b24cbd8
commit
81e9438823
1 changed files with 2 additions and 4 deletions
|
@ -17856,11 +17856,9 @@ void BfExprEvaluator::PerformUnaryOperation_OnResult(BfExpression* unaryOpExpr,
|
|||
case BfUnaryOp_Params:
|
||||
{
|
||||
bool allowParams = (mBfEvalExprFlags & BfEvalExprFlags_AllowParamsExpr) != 0;
|
||||
if (mResultLocalVar == NULL)
|
||||
allowParams = false;
|
||||
if (allowParams)
|
||||
{
|
||||
if (mResultLocalVar->mCompositeCount >= 0) // Delegate params
|
||||
if ((mResultLocalVar != NULL) && (mResultLocalVar->mCompositeCount >= 0)) // Delegate params
|
||||
{
|
||||
allowParams = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue