diff --git a/src/scripting/vmthunks.cpp b/src/scripting/vmthunks.cpp index 6f6e37d13..c3d5b8a13 100644 --- a/src/scripting/vmthunks.cpp +++ b/src/scripting/vmthunks.cpp @@ -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)