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