- added an amount parameter to the 'drop' CCMD.
This commit is contained in:
parent
fc101049c6
commit
e2d5a708f8
12 changed files with 45 additions and 27 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue