summaryrefslogtreecommitdiff
path: root/src/net/eathena/questhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/questhandler.cpp')
-rw-r--r--src/net/eathena/questhandler.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/eathena/questhandler.cpp b/src/net/eathena/questhandler.cpp
index 6af26f4fe..0db26ebf4 100644
--- a/src/net/eathena/questhandler.cpp
+++ b/src/net/eathena/questhandler.cpp
@@ -34,6 +34,11 @@ QuestHandler::QuestHandler() :
questHandler = this;
}
+QuestHandler::~QuestHandler()
+{
+ questHandler = nullptr;
+}
+
void QuestHandler::setQeustActiveState(const int questId,
const bool active) const
{