- 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:
parent
edd8e51a69
commit
55b549c0c6
20 changed files with 143 additions and 139 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue