Exported thing activation function
This commit is contained in:
parent
c87dc5ccad
commit
f5bf1d0497
3 changed files with 11 additions and 2 deletions
|
|
@ -7211,7 +7211,7 @@ static void SpawnDeepSplash(AActor *t1, const FTraceResults &trace, AActor *puff
|
|||
//
|
||||
//=============================================================================
|
||||
|
||||
bool P_ActivateThingSpecial(AActor * thing, AActor * trigger, bool death)
|
||||
int P_ActivateThingSpecial(AActor * thing, AActor * trigger, bool death)
|
||||
{
|
||||
bool res = false;
|
||||
|
||||
|
|
@ -7267,3 +7267,11 @@ bool P_ActivateThingSpecial(AActor * thing, AActor * trigger, bool death)
|
|||
// Returns the result
|
||||
return res;
|
||||
}
|
||||
|
||||
DEFINE_ACTION_FUNCTION_NATIVE(AActor, ActivateSpecial, P_ActivateThingSpecial)
|
||||
{
|
||||
PARAM_SELF_PROLOGUE(AActor);
|
||||
PARAM_OBJECT_NOT_NULL(activator, AActor);
|
||||
PARAM_BOOL(death);
|
||||
ACTION_RETURN_BOOL(P_ActivateThingSpecial(self, activator, death));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue