diff options
| author | megamage <none@none> | 2009-08-25 16:47:50 -0500 |
|---|---|---|
| committer | megamage <none@none> | 2009-08-25 16:47:50 -0500 |
| commit | ecc6505c07ac8a1db7b2609c89822e8ac7bd9d97 (patch) | |
| tree | e13f60c24f250b21a9423b39e56001d4db8796ee /src | |
| parent | db6b57151deeb7c5b174e4eadd9f865338faa729 (diff) | |
*Do not allow to save persistent AA.
--HG--
branch : trunk
Diffstat (limited to 'src')
| -rw-r--r-- | src/game/SpellAuras.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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; |
