Core/Auras: Should not remove other targets' aura if it keeps on same phase than caster
Closes #42
This commit is contained in:
1 parent
5df10956c0
commit
d44dd09737
1 file changed
+1
-1
@@ -3741,7 +3741,7 @@ void Unit::RemoveNotOwnSingleTargetAuras(uint32 newPhase, bool phaseid)
|
||||
for (AuraList::iterator iter = scAuras.begin(); iter != scAuras.end();)
|
||||
{
|
||||
Aura* aura = *iter;
|
||||
if (aura->GetUnitOwner() != this && !aura->GetUnitOwner()->IsInPhase(newPhase))
|
||||
if (aura->GetUnitOwner() != this && !aura->GetUnitOwner()->IsInPhase(this))
|
||||
{
|
||||
aura->Remove();
|
||||
iter = scAuras.begin();
|
||||
|
||||
Reference in new issue
Block a user