diff options
author | Xanadu <none@none> | 2010-07-31 03:23:14 +0200 |
---|---|---|
committer | Xanadu <none@none> | 2010-07-31 03:23:14 +0200 |
commit | cf4d89990e682f5d21331f9ee4e31f4c4084a3f8 (patch) | |
tree | a69172eabef9db6ba87e29cbe283f61bcf3a07a3 | |
parent | c298bdb66292587a6a178f5d462fcc20cbaf3b32 (diff) |
Don't save Call Stabled Pet aura on player save, since it is impossible to open the stable dialog when player is loaded.
--HG--
branch : trunk
-rw-r--r-- | src/server/game/Spells/Auras/SpellAuras.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/server/game/Spells/Auras/SpellAuras.cpp b/src/server/game/Spells/Auras/SpellAuras.cpp index 44ba34bf981..b68f3cfa79b 100644 --- a/src/server/game/Spells/Auras/SpellAuras.cpp +++ b/src/server/game/Spells/Auras/SpellAuras.cpp @@ -749,6 +749,10 @@ bool Aura::CanBeSaved() const if (HasEffectType(SPELL_AURA_CONVERT_RUNE)) return false; + // No point in saving this, since the stable dialog can't be open on aura load anyway. + if (HasEffectType(SPELL_AURA_OPEN_STABLE)) + return false; + return true; } |