*Particulary revert 1537.
--HG-- branch : trunk
This commit is contained in:
@@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -12808,6 +12808,7 @@ void Unit::SendAuraUpdate(uint8 slot)
|
||||
|
||||
if(!ptr)
|
||||
{
|
||||
RemoveVisibleAura(slot);
|
||||
SendMessageToSet(&data, true);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user