Core/Auras: Should not remove other targets' aura if it keeps on same phase than caster

Closes #42
This commit is contained in:
ariel- committed 2016-03-03 01:57:46 -03:00
1 parent 5df10956c0
commit d44dd09737
1 file changed
+1 -1
+1 -1
View File
@@ -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();