diff options
Diffstat (limited to 'src/net/eathena/npchandler.cpp')
-rw-r--r-- | src/net/eathena/npchandler.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/eathena/npchandler.cpp b/src/net/eathena/npchandler.cpp index 65e05e866..50d076ec4 100644 --- a/src/net/eathena/npchandler.cpp +++ b/src/net/eathena/npchandler.cpp @@ -56,6 +56,11 @@ NpcHandler::NpcHandler() : npcHandler = this; } +NpcHandler::~NpcHandler() +{ + npcHandler = nullptr; +} + void NpcHandler::talk(const Being *const being) const { if (being == nullptr) |