Core/Auras: Fixed transform aura stacking logic

This commit is contained in:
Shauren
2011-01-02 17:22:45 +01:00
parent eec299e605
commit a3eff12b33
2 changed files with 10 additions and 6 deletions
+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;