- scriptified P_MorphPlayer and dependencies.

It still needs its counterpart scriptified as well before it can work.
This commit is contained in:
Christoph Oelckers 2018-11-24 07:45:49 +01:00
commit 192104aea2
7 changed files with 250 additions and 16 deletions

View file

@ -293,6 +293,13 @@ CCMD (playerclasses)
}
}
DEFINE_ACTION_FUNCTION(APlayerPawn, Substitute)
{
PARAM_SELF_PROLOGUE(APlayerPawn);
PARAM_OBJECT(replace, APlayerPawn);
DObject::StaticPointerSubstitution(self, replace);
return 0;
}
//
// Movement.