From e46b02c342890947324c12ffcc1bf06d4bd0c455 Mon Sep 17 00:00:00 2001 From: QAston Date: Fri, 20 Feb 2009 15:42:57 +0100 Subject: *fix compile. --HG-- branch : trunk --- src/game/SpellAuras.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index feb00ba12eb..15627df8a2f 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; } } -- cgit v1.2.3