summaryrefslogtreecommitdiff
path: root/src/inventory.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/inventory.h')
-rw-r--r--src/inventory.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/inventory.h b/src/inventory.h
index 995a8ef52..311e6c5f0 100644
--- a/src/inventory.h
+++ b/src/inventory.h
@@ -182,7 +182,11 @@ class Inventory final
void virtualRemove(Item *const item,
const int amount);
+ void virtualRestore(const Item *const item,
+ const int amount);
+
void restoreVirtuals();
+
protected:
typedef std::list<InventoryListener*> InventoryListenerList;
InventoryListenerList mInventoryListeners;