From ce9211a5bc992acb0d0616066be9a1c7495889c0 Mon Sep 17 00:00:00 2001 From: megamage Date: Wed, 8 Apr 2009 13:37:11 -0500 Subject: *Fix build. --HG-- branch : trunk --- src/game/Unit.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/game/Unit.cpp') diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 182d661fdde..c93a9dd6a1d 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -3218,10 +3218,7 @@ void Unit::_DeleteAuras() { // remove auras only for non-aoe spells or when chanelled aura is removed // because aoe spells don't require aura on target to continue - { - caster->m_currentSpells[CURRENT_CHANNELED_SPELL]->cancel(); - caster->m_currentSpells[CURRENT_CHANNELED_SPELL]=NULL; - } + caster->m_currentSpells[CURRENT_CHANNELED_SPELL]->cancel(); } if(caster->GetTypeId()==TYPEID_UNIT && ((Creature*)caster)->isTotem() && ((Totem*)caster)->GetTotemType()==TOTEM_STATUE) -- cgit v1.2.3