Core/Auras: Fixed auras incorrectly stacking with different item casters introduced in r19f21916a940

Closes issue #5218.

--HG--
branch : trunk
This commit is contained in:
Shauren
2010-12-21 11:40:20 +01:00
parent 5180ed0383
commit 5809c1fa3b
4 changed files with 54 additions and 23 deletions
+1 -1
View File
@@ -3763,7 +3763,7 @@ bool Unit::_IsNoStackAuraDueToAura(Aura * appliedAura, Aura * existingAura) cons
if (is_triggered_by_spell)
return false;
if (sSpellMgr.CanAurasStack(spellProto, i_spellProto, sameCaster) || (sameCaster && appliedAura->GetCastItemGUID() && existingAura->GetCastItemGUID() != appliedAura->GetCastItemGUID()))
if (sSpellMgr.CanAurasStack(appliedAura, existingAura, sameCaster))
return false;
return true;
}