- added an amount parameter to the 'drop' CCMD.

This commit is contained in:
Christoph Oelckers 2017-02-23 20:18:02 +01:00
commit e2d5a708f8
12 changed files with 45 additions and 27 deletions

View file

@ -713,7 +713,7 @@ public:
virtual bool UseInventory (AInventory *item);
// Tosses an item out of the inventory.
AInventory *DropInventory (AInventory *item);
AInventory *DropInventory (AInventory *item, int amt = -1);
// Removes all items from the inventory.
void ClearInventory();