*Fix auras display when unit dies.

*Fix Freezing trap diminishing return.

--HG--
branch : trunk
This commit is contained in:
QAston
2009-02-26 17:09:12 +01:00
parent 64540eff85
commit aa39b07c5e
4 changed files with 21 additions and 19 deletions
-6
View File
@@ -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,