diff options
Diffstat (limited to 'src/net/eathena/familyhandler.cpp')
-rw-r--r-- | src/net/eathena/familyhandler.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/eathena/familyhandler.cpp b/src/net/eathena/familyhandler.cpp index e475503f0..5ec423ce5 100644 --- a/src/net/eathena/familyhandler.cpp +++ b/src/net/eathena/familyhandler.cpp @@ -40,6 +40,11 @@ FamilyHandler::FamilyHandler() : familyHandler = this; } +FamilyHandler::~FamilyHandler() +{ + familyHandler = nullptr; +} + void FamilyHandler::askForChild(const Being *const being) const { if (being == nullptr) |