From 76aa9e951c0fe7ba63af2654b455162626ebb93f Mon Sep 17 00:00:00 2001 From: megamage Date: Thu, 7 May 2009 16:24:35 -0500 Subject: *Fix a typo that break nearly all channelled spells. Sorry. --HG-- branch : trunk --- src/game/Spell.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/game/Spell.cpp') diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index 68b416cad63..393cab740fb 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -2308,8 +2308,8 @@ void Spell::prepare(SpellCastTargets const* targets, AuraEffect* triggeredByAura ReSetTimer(); //Containers for channeled spells have to be set //TODO:Apply this to all casted spells if needed - // Why check m_casttime? 29350: channelled triggers channelled - if(m_IsTriggeredSpell && (!IsChanneledSpell(m_spellInfo) || !m_casttime)) + // Why check duration? 29350: channelled triggers channelled + if(m_IsTriggeredSpell && (!IsChanneledSpell(m_spellInfo) || !GetSpellMaxDuration(m_spellInfo))) cast(true); else { -- cgit v1.2.3