*Add a line in ~Spell for debug.
--HG-- branch : trunk
This commit is contained in:
@@ -483,6 +483,8 @@ Spell::Spell( Unit* Caster, SpellEntry const *info, bool triggered, uint64 origi
|
|||||||
|
|
||||||
Spell::~Spell()
|
Spell::~Spell()
|
||||||
{
|
{
|
||||||
|
if(m_caster && m_caster->GetTypeId() == TYPEID_PLAYER)
|
||||||
|
assert(((Player*)m_caster)->m_spellModTakingSpell != this);
|
||||||
delete m_spellValue;
|
delete m_spellValue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user