diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index feb00ba12e..15627df8a2 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -461,8 +461,8 @@ Aura::~Aura() //Delete references to aura if(GetAuraSlot() < MAX_AURAS && m_target && m_target->GetVisibleAura(GetAuraSlot())) { - if (AuraSlotEntry * entry = m_target->GetVisibleAura(GetAuraSlot())); - entry->m_slotAuras[GetEffIndex()]=NULL; + AuraSlotEntry * entry = m_target->GetVisibleAura(GetAuraSlot()); + entry->m_slotAuras[GetEffIndex()]=NULL; } }