Exports various resurrection-related functions to ZScript.

This commit is contained in:
Mari the Deer 2018-09-18 01:14:39 +02:00 committed by Rachael Alexanderson
commit c3894ee348
4 changed files with 41 additions and 1 deletions

View file

@ -7785,6 +7785,13 @@ void AActor::Revive()
E_WorldThingRevived(this);
}
DEFINE_ACTION_FUNCTION(AActor, Revive)
{
PARAM_SELF_PROLOGUE(AActor);
self->Revive();
return 0;
}
int AActor::GetGibHealth() const
{
IFVIRTUAL(AActor, GetGibHealth)