mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-02-07 17:11:17 +00:00
- 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:
parent
7d88e2ec6b
commit
9332a63ce5
1 changed files with 1 additions and 1 deletions
|
@ -2965,7 +2965,7 @@ static int isFrozen(FLevelLocals *self)
|
||||||
DEFINE_ACTION_FUNCTION_NATIVE(FLevelLocals, isFrozen, isFrozen)
|
DEFINE_ACTION_FUNCTION_NATIVE(FLevelLocals, isFrozen, isFrozen)
|
||||||
{
|
{
|
||||||
PARAM_SELF_STRUCT_PROLOGUE(FLevelLocals);
|
PARAM_SELF_STRUCT_PROLOGUE(FLevelLocals);
|
||||||
return isFrozen(self);
|
ACTION_RETURN_INT(isFrozen(self));
|
||||||
}
|
}
|
||||||
|
|
||||||
void setFrozen(FLevelLocals *self, int on)
|
void setFrozen(FLevelLocals *self, int on)
|
||||||
|
|
Loading…
Reference in a new issue