diff options
author | Liberate <none@none> | 2010-05-26 16:18:45 +0200 |
---|---|---|
committer | Liberate <none@none> | 2010-05-26 16:18:45 +0200 |
commit | 3cd4626dacddf9ba34473f2dac511ea0c07bd048 (patch) | |
tree | fd9197716c69141e4f134ad57bc7a84c6c7a495f /src/game/Spell.cpp | |
parent | aa5100e7d9f86e0551a727574f73100e7cfcc077 (diff) |
Fix a typo in my previous commit. thanks dr.tenma for pointing this out.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Spell.cpp')
-rw-r--r-- | src/game/Spell.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index d12998b7b63..2883c2f3a80 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -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; |