Core/Auras: Fixed transform aura stacking logic
This commit is contained in:
1 parent
eec299e605
commit
a3eff12b33
2 files changed
+10
-6
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user