aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellAuras.cpp
diff options
context:
space:
mode:
authorQAston <none@none>2009-02-26 17:09:12 +0100
committerQAston <none@none>2009-02-26 17:09:12 +0100
commitaa39b07c5e0c17ddcc744bb5bde5d89fb7d7f4f0 (patch)
treefcd8585499d1fcfdc2df710aff25b8136a8c7199 /src/game/SpellAuras.cpp
parent64540eff85465fca81121cc3de85fecc7315cf3e (diff)
*Fix auras display when unit dies.
*Fix Freezing trap diminishing return. --HG-- branch : trunk
Diffstat (limited to 'src/game/SpellAuras.cpp')
-rw-r--r--src/game/SpellAuras.cpp6
1 files changed, 0 insertions, 6 deletions
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,