From 065d7c8d41d9bde6f8db5af214d7e8c2cffca0a4 Mon Sep 17 00:00:00 2001 From: megamage Date: Fri, 20 Feb 2009 18:43:44 -0600 Subject: *Do not interrupt channelling when aura is removed by time up. This fix the bug of tame beast and other channelled spells. --HG-- branch : trunk --- src/game/Unit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 7d430054cd9..61339c2062c 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -4119,7 +4119,7 @@ void Unit::RemoveAura(AuraMap::iterator &i, AuraRemoveMode mode) // Statue unsummoned at aura remove Totem* statue = NULL; bool channeled = false; - if(IsChanneledSpell(AurSpellInfo)) + if(!Aur->GetAuraDuration() && IsChanneledSpell(AurSpellInfo)) { if(!caster) // can be already located for IsSingleTargetSpell case caster = Aur->GetCaster(); -- cgit v1.2.3