aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-04-08 13:37:11 -0500
committermegamage <none@none>2009-04-08 13:37:11 -0500
commitce9211a5bc992acb0d0616066be9a1c7495889c0 (patch)
tree4c6a8940fe92e5ea73747b46709cd59610838f37 /src/game/Unit.cpp
parent74d553bc4caad3e35922463ec9d327c7fb741496 (diff)
*Fix build.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r--src/game/Unit.cpp5
1 files changed, 1 insertions, 4 deletions
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)