diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index 64758d62f9..a7fd33405c 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -483,6 +483,8 @@ Spell::Spell( Unit* Caster, SpellEntry const *info, bool triggered, uint64 origi Spell::~Spell() { + if(m_caster && m_caster->GetTypeId() == TYPEID_PLAYER) + assert(((Player*)m_caster)->m_spellModTakingSpell != this); delete m_spellValue; }