aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGustavo <sirikfoll@hotmail.com>2017-11-19 13:36:14 -0200
committerjoschiwald <joschiwald.trinity@gmail.com>2017-11-19 16:36:14 +0100
commit5b7e4efcc4db8c4f1fb25bbdf7cfca60dfb776dc (patch)
tree487c85cdd927a2131a1752a125fd5e292dfff660 /src
parent1b1744c77263182343caa27539ed1de2b3c5ff6a (diff)
Core/Spells: Don't save channeled auras (#20923)
Diffstat (limited to 'src')
-rw-r--r--src/server/game/Spells/Auras/SpellAuras.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/server/game/Spells/Auras/SpellAuras.cpp b/src/server/game/Spells/Auras/SpellAuras.cpp
index cff25bc8e2c..7c1cdc56de0 100644
--- a/src/server/game/Spells/Auras/SpellAuras.cpp
+++ b/src/server/game/Spells/Auras/SpellAuras.cpp
@@ -947,6 +947,9 @@ bool Aura::CanBeSaved() const
if (IsPassive())
return false;
+ if (GetSpellInfo()->IsChanneled())
+ return false;
+
// Check if aura is single target, not only spell info
if (GetCasterGUID() != GetOwner()->GetGUID())
if (GetSpellInfo()->IsSingleTarget() || IsSingleTarget())