- scriptified D'Sparil.

- added retrieval of defaults from an actor pointer.
This commit is contained in:
Christoph Oelckers 2016-11-24 01:23:35 +01:00
commit 3e890d182b
14 changed files with 349 additions and 406 deletions

View file

@ -6781,6 +6781,12 @@ int AActor::SpawnHealth() const
}
}
DEFINE_ACTION_FUNCTION(AActor, SpawnHealth)
{
PARAM_SELF_PROLOGUE(AActor);
ACTION_RETURN_INT(self->SpawnHealth());
}
FState *AActor::GetRaiseState()
{
if (!(flags & MF_CORPSE))