From aa39b07c5e0c17ddcc744bb5bde5d89fb7d7f4f0 Mon Sep 17 00:00:00 2001 From: QAston Date: Thu, 26 Feb 2009 17:09:12 +0100 Subject: *Fix auras display when unit dies. *Fix Freezing trap diminishing return. --HG-- branch : trunk --- src/game/SpellAuras.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/game/SpellAuras.cpp') diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index fe16e488b3d..d31ec2ff553 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -459,12 +459,6 @@ m_updated(false), m_isRemovedOnShapeLost(true), m_in_use(false) Aura::~Aura() { - //Delete references to aura - if(GetAuraSlot() < MAX_AURAS && m_target && m_target->GetVisibleAura(GetAuraSlot())) - { - AuraSlotEntry * entry = m_target->GetVisibleAura(GetAuraSlot()); - entry->m_slotAuras[GetEffIndex()]=NULL; - } } AreaAura::AreaAura(SpellEntry const* spellproto, uint32 eff, int32 *currentBasePoints, Unit *target, -- cgit v1.2.3