diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-07-03 20:00:46 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-07-03 20:00:46 +0300 |
commit | a1bd0179b28fa93c771bc5602f64746878f0ffad (patch) | |
tree | ff696a9b98c32441b06ffabf2a8ca7312590c8e3 /src/net/inventoryhandler.h | |
parent | 41953ac4902ca11bb07b0aab53e811ca68ce4f64 (diff) | |
download | manaverse-a1bd0179b28fa93c771bc5602f64746878f0ffad.tar.gz manaverse-a1bd0179b28fa93c771bc5602f64746878f0ffad.tar.bz2 manaverse-a1bd0179b28fa93c771bc5602f64746878f0ffad.tar.xz manaverse-a1bd0179b28fa93c771bc5602f64746878f0ffad.zip |
fix some leaks on exit.
Diffstat (limited to 'src/net/inventoryhandler.h')
-rw-r--r-- | src/net/inventoryhandler.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net/inventoryhandler.h b/src/net/inventoryhandler.h index 39e7bf8ba..97a88ca04 100644 --- a/src/net/inventoryhandler.h +++ b/src/net/inventoryhandler.h @@ -36,6 +36,8 @@ class InventoryHandler virtual ~InventoryHandler() { } + virtual void clear() = 0; + virtual void equipItem(const Item *const item) const = 0; virtual void unequipItem(const Item *const item) const = 0; |