- scriptified P_MorphMonster.

This commit is contained in:
Christoph Oelckers 2018-11-24 09:33:03 +01:00
commit ac1bffc51b
8 changed files with 115 additions and 201 deletions

View file

@ -293,10 +293,10 @@ CCMD (playerclasses)
}
}
DEFINE_ACTION_FUNCTION(APlayerPawn, Substitute)
DEFINE_ACTION_FUNCTION(AActor, Substitute)
{
PARAM_SELF_PROLOGUE(APlayerPawn);
PARAM_OBJECT(replace, APlayerPawn);
PARAM_SELF_PROLOGUE(AActor);
PARAM_OBJECT(replace, AActor);
DObject::StaticPointerSubstitution(self, replace);
return 0;
}