Core/Auras: Fixed transform aura stacking logic

This commit is contained in:
Shauren committed 2011-01-02 17:22:45 +01:00
1 parent eec299e605
commit a3eff12b33
2 files changed
+10 -6

No files matched your search

+2 -2
View File
@@ -14225,10 +14225,10 @@ void Unit::RestoreDisplayId()
{
if (AuraApplication const * aurApp = (*i)->GetBase()->GetApplicationOfTarget(GetGUID()))
{
if (aurApp->IsPositive())
if (!handledAura)
handledAura = (*i);
// prefer negative auras
else
if (!aurApp->IsPositive())
{
handledAura = (*i);
break;