- scriptified P_MorphPlayer and dependencies.
It still needs its counterpart scriptified as well before it can work.
This commit is contained in:
parent
4e2cc1f144
commit
192104aea2
7 changed files with 250 additions and 16 deletions
|
|
@ -173,18 +173,6 @@ bool P_MorphPlayer (player_t *activator, player_t *p, PClassActor *spawntype, in
|
|||
return true;
|
||||
}
|
||||
|
||||
DEFINE_ACTION_FUNCTION(_PlayerInfo, MorphPlayer)
|
||||
{
|
||||
PARAM_SELF_STRUCT_PROLOGUE(player_t);
|
||||
PARAM_POINTER(activator, player_t);
|
||||
PARAM_CLASS(spawntype, APlayerPawn);
|
||||
PARAM_INT(duration);
|
||||
PARAM_INT(style);
|
||||
PARAM_CLASS(enter_flash, AActor);
|
||||
PARAM_CLASS(exit_flash, AActor);
|
||||
ACTION_RETURN_BOOL(P_MorphPlayer(activator, self, spawntype, duration, style, enter_flash, exit_flash));
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
//
|
||||
// FUNC P_UndoPlayerMorph
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue