summaryrefslogtreecommitdiff
path: root/src/net/eathena/bankhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/bankhandler.cpp')
-rw-r--r--src/net/eathena/bankhandler.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/eathena/bankhandler.cpp b/src/net/eathena/bankhandler.cpp
index 8c73bad91..19d600059 100644
--- a/src/net/eathena/bankhandler.cpp
+++ b/src/net/eathena/bankhandler.cpp
@@ -36,6 +36,11 @@ BankHandler::BankHandler() :
bankHandler = this;
}
+BankHandler::~BankHandler()
+{
+ bankHandler = nullptr;
+}
+
void BankHandler::deposit(const int money) const
{
if (packetVersion < 20130320)