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

Was causing assertion fails in UnregisterSingleTarget, further research into the issue is needed.

This reverts commit d44dd09737.

Reopens #42
This commit is contained in:
ariel- committed 2016-03-06 03:40:06 -03:00
1 parent 6ca676917b
commit 95b6332bef
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(this))
if (aura->GetUnitOwner() != this && !aura->GetUnitOwner()->IsInPhase(newPhase))
{
aura->Remove();
iter = scAuras.begin();