summaryrefslogtreecommitdiff
path: root/src/net/tmwa/inventoryhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/tmwa/inventoryhandler.cpp')
-rw-r--r--src/net/tmwa/inventoryhandler.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net/tmwa/inventoryhandler.cpp b/src/net/tmwa/inventoryhandler.cpp
index 8328f159a..e87b748c7 100644
--- a/src/net/tmwa/inventoryhandler.cpp
+++ b/src/net/tmwa/inventoryhandler.cpp
@@ -63,6 +63,7 @@ InventoryHandler::InventoryHandler() :
InventoryHandler::~InventoryHandler()
{
+ inventoryHandler = nullptr;
}
void InventoryHandler::equipItem(const Item *const item) const