From af61285030fa17604a0d3812c679c45cdc8c2a5d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 3 Aug 2017 21:13:18 +0300 Subject: Remove network handlers in general handler was deleted. --- src/net/tmwa/cashshophandler.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/net/tmwa/cashshophandler.cpp') diff --git a/src/net/tmwa/cashshophandler.cpp b/src/net/tmwa/cashshophandler.cpp index 81a8e2871..9477af1cc 100644 --- a/src/net/tmwa/cashshophandler.cpp +++ b/src/net/tmwa/cashshophandler.cpp @@ -31,6 +31,11 @@ CashShopHandler::CashShopHandler() : cashShopHandler = this; } +CashShopHandler::~CashShopHandler() +{ + cashShopHandler = nullptr; +} + void CashShopHandler::buyItem(const int points A_UNUSED, const int itemId A_UNUSED, const ItemColor color A_UNUSED, -- cgit v1.2.3-60-g2f50