*Do not interrupt channel when persistent aura is removed.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-03-26 20:32:28 -06:00
parent b95f1a2ff4
commit dd5faef024

View File

@@ -4750,7 +4750,7 @@ void Unit::RemoveAura(AuraMap::iterator &i, AuraRemoveMode mode)
// Statue unsummoned at aura remove
Totem* statue = NULL;
bool channeled = false;
if(Aur->GetAuraDuration() && IsChanneledSpell(AurSpellInfo))
if(Aur->GetAuraDuration() && !Aur->IsPersistent() && IsChanneledSpell(AurSpellInfo))
{
if(!caster) // can be already located for IsSingleTargetSpell case
caster = Aur->GetCaster();