mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-27 14:22:13 +00:00
- missed one definition for adding a direct native call.
This commit is contained in:
parent
494a113920
commit
e01306d403
2 changed files with 9 additions and 9 deletions
|
@ -82,14 +82,6 @@ void A_Unblock(AActor *self, bool drop)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
DEFINE_ACTION_FUNCTION(AActor, A_NoBlocking)
|
|
||||||
{
|
|
||||||
PARAM_SELF_PROLOGUE(AActor);
|
|
||||||
PARAM_BOOL(drop);
|
|
||||||
A_Unblock(self, drop);
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
//
|
//
|
||||||
// CorpseQueue Routines (used by Hexen)
|
// CorpseQueue Routines (used by Hexen)
|
||||||
|
|
|
@ -1290,7 +1290,7 @@ static void SetOrigin(AActor *self, double x, double y, double z, bool moving)
|
||||||
self->SetOrigin(x, y, z, moving);
|
self->SetOrigin(x, y, z, moving);
|
||||||
}
|
}
|
||||||
|
|
||||||
DEFINE_ACTION_FUNCTION(AActor, SetOrigin)
|
DEFINE_ACTION_FUNCTION_NATIVE(AActor, SetOrigin, SetOrigin)
|
||||||
{
|
{
|
||||||
PARAM_SELF_PROLOGUE(AActor);
|
PARAM_SELF_PROLOGUE(AActor);
|
||||||
PARAM_FLOAT(x);
|
PARAM_FLOAT(x);
|
||||||
|
@ -1540,6 +1540,14 @@ DEFINE_ACTION_FUNCTION_NATIVE(AActor, GetSpawnableType, P_GetSpawnableType)
|
||||||
ACTION_RETURN_POINTER(P_GetSpawnableType(num));
|
ACTION_RETURN_POINTER(P_GetSpawnableType(num));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
DEFINE_ACTION_FUNCTION_NATIVE(AActor, A_NoBlocking, A_Unblock)
|
||||||
|
{
|
||||||
|
PARAM_SELF_PROLOGUE(AActor);
|
||||||
|
PARAM_BOOL(drop);
|
||||||
|
A_Unblock(self, drop);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
//=====================================================================================
|
//=====================================================================================
|
||||||
//
|
//
|
||||||
// Inventory exports
|
// Inventory exports
|
||||||
|
|
Loading…
Reference in a new issue