summaryrefslogtreecommitdiff
path: root/src/net/eathena/buyingstorehandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/buyingstorehandler.cpp')
-rw-r--r--src/net/eathena/buyingstorehandler.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/eathena/buyingstorehandler.cpp b/src/net/eathena/buyingstorehandler.cpp
index ae2157452..c4d172b89 100644
--- a/src/net/eathena/buyingstorehandler.cpp
+++ b/src/net/eathena/buyingstorehandler.cpp
@@ -44,6 +44,11 @@ BuyingStoreHandler::BuyingStoreHandler()
buyingStoreHandler = this;
}
+BuyingStoreHandler::~BuyingStoreHandler()
+{
+ buyingStoreHandler = nullptr;
+}
+
void BuyingStoreHandler::create(const std::string &name,
const int maxMoney,
const bool flag,