aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
authorQAston@qaston-pc <none@none>2009-03-01 02:46:33 +0100
committerQAston@qaston-pc <none@none>2009-03-01 02:46:33 +0100
commit783714aff351ce60b40e7d15796622b5f4e5d7ca (patch)
tree526c379038825047d092d7681fc71978ece4c929 /src/game/Unit.cpp
parentd1717aef696f258980254c4e705b22c1e1967fcb (diff)
*Fix Penance.
*Remove some hacks from channeled spells related code. --HG-- branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r--src/game/Unit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index e264b669e03..2ac67aaa3fa 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -4174,7 +4174,7 @@ void Unit::RemoveAura(AuraMap::iterator &i, AuraRemoveMode mode)
&& AurSpellInfo->EffectApplyAuraName[Aur->GetEffIndex()]!= SPELL_AURA_DUMMY)
//don't stop channeling of scripted spells (this is actually a hack)
{
- caster->m_currentSpells[CURRENT_CHANNELED_SPELL]->cancel();
+ caster->InterruptSpell(CURRENT_CHANNELED_SPELL);
}
}
}