From cf4d89990e682f5d21331f9ee4e31f4c4084a3f8 Mon Sep 17 00:00:00 2001 From: Xanadu Date: Sat, 31 Jul 2010 03:23:14 +0200 Subject: 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 --- src/server/game/Spells/Auras/SpellAuras.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') 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; } -- cgit v1.2.3