*Particulary revert 1537.

--HG--
branch : trunk
This commit is contained in:
QAston
2009-02-23 22:34:14 +01:00
parent 4cda43dce5
commit befa36f8b9
2 changed files with 1 additions and 12 deletions
-12
View File
@@ -464,18 +464,6 @@ Aura::~Aura()
{
AuraSlotEntry * entry = m_target->GetVisibleAura(GetAuraSlot());
entry->m_slotAuras[GetEffIndex()]=NULL;
//Check if there any aura in slot still exists
bool remove=true;
for (uint8 i=0 ; i<3; i++)
{
if (entry->m_slotAuras[i])
{
remove=false;
break;
}
}
if (remove)
m_target->RemoveVisibleAura(GetAuraSlot());
}
}
+1
View File
@@ -12808,6 +12808,7 @@ void Unit::SendAuraUpdate(uint8 slot)
if(!ptr)
{
RemoveVisibleAura(slot);
SendMessageToSet(&data, true);
return;
}