aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiberate <none@none>2010-05-26 16:18:45 +0200
committerLiberate <none@none>2010-05-26 16:18:45 +0200
commit3cd4626dacddf9ba34473f2dac511ea0c07bd048 (patch)
treefd9197716c69141e4f134ad57bc7a84c6c7a495f
parentaa5100e7d9f86e0551a727574f73100e7cfcc077 (diff)
Fix a typo in my previous commit. thanks dr.tenma for pointing this out.
--HG-- branch : trunk
-rw-r--r--src/game/Spell.cpp2
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;