summaryrefslogtreecommitdiff
path: root/src/net/tmwa/bankhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/tmwa/bankhandler.cpp')
-rw-r--r--src/net/tmwa/bankhandler.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/tmwa/bankhandler.cpp b/src/net/tmwa/bankhandler.cpp
index 521eb6d4c..cacab379f 100644
--- a/src/net/tmwa/bankhandler.cpp
+++ b/src/net/tmwa/bankhandler.cpp
@@ -31,6 +31,11 @@ BankHandler::BankHandler() :
bankHandler = this;
}
+BankHandler::~BankHandler()
+{
+ bankHandler = nullptr;
+}
+
void BankHandler::deposit(const int money A_UNUSED) const
{
}