summaryrefslogtreecommitdiff
path: root/src/net/tmwa/skillhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/tmwa/skillhandler.cpp')
-rw-r--r--src/net/tmwa/skillhandler.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/tmwa/skillhandler.cpp b/src/net/tmwa/skillhandler.cpp
index 47d08ac62..9f8de7b2f 100644
--- a/src/net/tmwa/skillhandler.cpp
+++ b/src/net/tmwa/skillhandler.cpp
@@ -36,6 +36,11 @@ SkillHandler::SkillHandler() :
skillHandler = this;
}
+SkillHandler::~SkillHandler()
+{
+ skillHandler = nullptr;
+}
+
void SkillHandler::useBeing(const int id, const int level,
const BeingId beingId) const
{