- fixed LevelLocals.isFrozen() return value with JIT disabled

No more 'Number of parameters returned differs from what was expected by the caller' assertion failures
This commit is contained in:
alexey.lysiuk 2019-07-07 15:31:06 +03:00
parent 7d88e2ec6b
commit 9332a63ce5

View file

@ -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)