From ecc6505c07ac8a1db7b2609c89822e8ac7bd9d97 Mon Sep 17 00:00:00 2001 From: megamage Date: Tue, 25 Aug 2009 16:47:50 -0500 Subject: *Do not allow to save persistent AA. --HG-- branch : trunk --- src/game/SpellAuras.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index 13e13111ae2..0ae6c1fe8a9 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -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; -- cgit v1.2.3