summaryrefslogtreecommitdiff
path: root/src/net/eathena/charserverhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/charserverhandler.cpp')
-rw-r--r--src/net/eathena/charserverhandler.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/eathena/charserverhandler.cpp b/src/net/eathena/charserverhandler.cpp
index f9cd6729d..18273de0a 100644
--- a/src/net/eathena/charserverhandler.cpp
+++ b/src/net/eathena/charserverhandler.cpp
@@ -58,6 +58,11 @@ CharServerHandler::CharServerHandler() :
charServerHandler = this;
}
+CharServerHandler::~CharServerHandler()
+{
+ charServerHandler = nullptr;
+}
+
void CharServerHandler::chooseCharacter(Net::Character *const character) const
{
if (character == nullptr)