- 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 committed by drfrag
parent ca9967d13b
commit 0dbf2e3df7

View file

@ -2753,7 +2753,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)