Skip to content

Commit

Permalink
- fixed LevelLocals.isFrozen() return value with JIT disabled
Browse files Browse the repository at this point in the history
No more 'Number of parameters returned differs from what was expected by the caller' assertion failures
  • Loading branch information
alexey-lysiuk committed Jul 7, 2019
1 parent 7d88e2e commit 9332a63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripting/vmthunks.cpp
Expand Up @@ -2965,7 +2965,7 @@ static int isFrozen(FLevelLocals *self)
DEFINE_ACTION_FUNCTION_NATIVE(FLevelLocals, isFrozen, isFrozen)
{
PARAM_SELF_STRUCT_PROLOGUE(FLevelLocals);
return isFrozen(self);
ACTION_RETURN_INT(isFrozen(self));
}

void setFrozen(FLevelLocals *self, int on)
Expand Down

0 comments on commit 9332a63

Please sign in to comment.