aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorraczman <none@none>2009-04-05 12:11:28 +0200
committerraczman <none@none>2009-04-05 12:11:28 +0200
commit5fb720d117a255fa4f099cc23b78b1bf30de46c9 (patch)
treed746f4c9943fdef6e4995c4adf8fbc1aea790a08 /src
parent607741569c6047e05f4bbb97735d60a311b647c1 (diff)
Crashfix. <3 QAston, you damn beast.
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/Unit.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index c3dbcf87dd7..fb0aee82654 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -4367,6 +4367,8 @@ void Unit::RemoveAura(AuraMap::iterator &i, AuraRemoveMode mode)
//don't stop channeling of scripted spells (this is actually a hack)
{
caster->m_currentSpells[CURRENT_CHANNELED_SPELL]->cancel();
+ caster->m_currentSpells[CURRENT_CHANNELED_SPELL]=NULL;
+
}
}