Fix a typo in my previous commit. thanks dr.tenma for pointing this out.

--HG--
branch : trunk
This commit is contained in:
Liberate
2010-05-26 16:18:45 +02:00
parent aa5100e7d9
commit 3cd4626dac

View File

@@ -1390,7 +1390,7 @@ SpellMissInfo Spell::DoSpellHitOnUnit(Unit *unit, const uint32 effectMask, bool
if (IsChanneledSpell(m_spellInfo))
m_originalCaster->ModSpellCastTime(aurSpellInfo, duration, this);
if (duration <= 0)
if (duration == 0)
{
m_spellAura->Remove();
return SPELL_MISS_IMMUNE;