summaryrefslogtreecommitdiff
path: root/src/net/eathena/cashshophandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/cashshophandler.cpp')
-rw-r--r--src/net/eathena/cashshophandler.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/eathena/cashshophandler.cpp b/src/net/eathena/cashshophandler.cpp
index c693cb1f0..2e1e9cde4 100644
--- a/src/net/eathena/cashshophandler.cpp
+++ b/src/net/eathena/cashshophandler.cpp
@@ -42,6 +42,11 @@ CashShopHandler::CashShopHandler() :
CashShopRecv::mBuyDialog = nullptr;
}
+CashShopHandler::~CashShopHandler()
+{
+ cashShopHandler = nullptr;
+}
+
void CashShopHandler::buyItem(const int points,
const int itemId,
const ItemColor color A_UNUSED,