*Add missing Bestial wrath and The Beast Withing immunities after client change. Original patch by Visagalis.

*Little typo from prev rev.

--HG--
branch : trunk
This commit is contained in:
QAston
2010-08-03 06:16:59 +02:00
parent c5a9d3b463
commit 12c339f421
2 changed files with 12 additions and 3 deletions
+1 -1
View File
@@ -3637,7 +3637,7 @@ void Unit::_AddAura(UnitAura * aura, Unit * caster)
aura->SetIsSingleTarget(caster && IsSingleTargetSpell(aura->GetSpellProto()));
if (aura->IsSingleTarget())
{
ASSERT(IsInWorld() && !IsDuringRemoveFromWorld());
ASSERT((IsInWorld() && !IsDuringRemoveFromWorld()) || (GetCasterGUID() == GetGUID()));
// register single target aura
caster->GetSingleCastAuras().push_back(aura);
// remove other single target auras