- converted the rest of a_strifestuff.cpp.

- changed some very old A_Explode calls which passed all values as integer literals.
This commit is contained in:
Christoph Oelckers 2016-11-29 00:16:30 +01:00
commit 55b549c0c6
20 changed files with 143 additions and 139 deletions

View file

@ -3224,6 +3224,15 @@ AInventory *P_DropItem (AActor *source, PClassActor *type, int dropamount, int c
return NULL;
}
DEFINE_ACTION_FUNCTION(AActor, DoDropItem)
{
PARAM_SELF_PROLOGUE(AActor);
PARAM_CLASS(cls, AActor);
PARAM_INT(amt);
PARAM_INT(chance);
ACTION_RETURN_OBJECT(P_DropItem(self, cls, amt, chance));
}
//============================================================================
//
// P_TossItem