*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
This commit is contained in:
megamage
2009-02-20 18:43:44 -06:00
parent 25761043d3
commit 065d7c8d41

View File

@@ -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();