diff options
author | QAston <none@none> | 2009-02-20 15:42:57 +0100 |
---|---|---|
committer | QAston <none@none> | 2009-02-20 15:42:57 +0100 |
commit | e46b02c342890947324c12ffcc1bf06d4bd0c455 (patch) | |
tree | 3fd81a7028312fc0ff246b40f9896ddde3a45185 /src | |
parent | 80e43fe261ee9d7694856888a921a3740b9bb51e (diff) |
*fix compile.
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/game/SpellAuras.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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; } } |