summaryrefslogtreecommitdiff
path: root/src/net/eathena/mercenaryhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/mercenaryhandler.cpp')
-rw-r--r--src/net/eathena/mercenaryhandler.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/eathena/mercenaryhandler.cpp b/src/net/eathena/mercenaryhandler.cpp
index 0159a5cbd..ffb1b5b2c 100644
--- a/src/net/eathena/mercenaryhandler.cpp
+++ b/src/net/eathena/mercenaryhandler.cpp
@@ -37,6 +37,11 @@ MercenaryHandler::MercenaryHandler()
mercenaryHandler = this;
}
+MercenaryHandler::~MercenaryHandler()
+{
+ mercenaryHandler = nullptr;
+}
+
void MercenaryHandler::fire() const
{
createOutPacket(CMSG_MERCENARY_ACTION);