*Do not allow to save persistent AA.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-08-25 16:47:50 -05:00
parent db6b57151d
commit ecc6505c07

View File

@@ -1793,6 +1793,9 @@ bool Aura::CanBeSaved() const
if (IsPassive())
return false;
if(IsPersistent())
return false;
if (GetCasterGUID() != m_target->GetGUID())
if (IsSingleTargetSpell(GetSpellProto()) || IsAreaAura())
return false;