- also added the 'amount' parameter to DropInventroy and A_DropInventory script functions.

This commit is contained in:
Christoph Oelckers 2017-02-23 20:55:12 +01:00
parent e2d5a708f8
commit 73cceea994
3 changed files with 5 additions and 4 deletions

View file

@ -1059,7 +1059,7 @@ DEFINE_ACTION_FUNCTION(AActor, DropInventory)
{
PARAM_SELF_PROLOGUE(AActor);
PARAM_OBJECT_NOT_NULL(item, AInventory);
PARAM_INT(amt);
PARAM_INT_DEF(amt);
ACTION_RETURN_OBJECT(self->DropInventory(item, amt));
}