- sxriptified key and puzzleitem base classes.

This commit is contained in:
Christoph Oelckers 2017-01-15 10:37:54 +01:00
commit 267600826f
8 changed files with 98 additions and 100 deletions

View file

@ -5515,6 +5515,13 @@ bool P_UsePuzzleItem(AActor *PuzzleItemUser, int PuzzleItemType)
return false;
}
DEFINE_ACTION_FUNCTION(AActor, UsePuzzleItem)
{
PARAM_SELF_PROLOGUE(AActor);
PARAM_INT(puzznum);
ACTION_RETURN_BOOL(P_UsePuzzleItem(self, puzznum));
}
//==========================================================================
//
// RADIUS ATTACK