summaryrefslogtreecommitdiff
path: root/src/inventory.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/inventory.h')
-rw-r--r--src/inventory.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/inventory.h b/src/inventory.h
index e20010c23..1d1f49ebe 100644
--- a/src/inventory.h
+++ b/src/inventory.h
@@ -174,7 +174,8 @@ class Inventory final
int findIndexByTag(const int tag) const;
- void addVirtualItem(const Item *const item);
+ void addVirtualItem(const Item *const item,
+ int index);
protected:
typedef std::list<InventoryListener*> InventoryListenerList;