*fix compile.

--HG--
branch : trunk
This commit is contained in:
QAston
2009-02-20 15:42:57 +01:00
parent 80e43fe261
commit e46b02c342
+2 -2
View File
@@ -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;
}
}