From 5fb720d117a255fa4f099cc23b78b1bf30de46c9 Mon Sep 17 00:00:00 2001 From: raczman Date: Sun, 5 Apr 2009 12:11:28 +0200 Subject: Crashfix. <3 QAston, you damn beast. --HG-- branch : trunk --- src/game/Unit.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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; + } } -- cgit v1.2.3