aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorariel- <ariel-@users.noreply.github.com>2016-10-30 15:20:54 -0300
committerariel- <ariel-@users.noreply.github.com>2016-10-30 15:20:54 -0300
commit697147a596515c82817a161e7a9a5f07cdf9a8f3 (patch)
treecf9ffaf49654bcdc2435f687f8aed807c46187cc /src
parentf494aeba9b3771c3c332c4f7fbdf8fbef9d3a465 (diff)
Core/Auras: fix elixir aura saving
Diffstat (limited to 'src')
-rw-r--r--src/server/game/Spells/Auras/SpellAuras.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/Spells/Auras/SpellAuras.cpp b/src/server/game/Spells/Auras/SpellAuras.cpp
index 0b8e3de267f..826d7ee6b65 100644
--- a/src/server/game/Spells/Auras/SpellAuras.cpp
+++ b/src/server/game/Spells/Auras/SpellAuras.cpp
@@ -987,8 +987,8 @@ bool Aura::CanBeSaved() const
if (IsUsingCharges() && !GetCharges())
return false;
- // don't save auras triggered by items, they'll be recasted on login if necessary
- if (GetCastItemGUID())
+ // don't save permanent auras triggered by items, they'll be recasted on login if necessary
+ if (GetCastItemGUID() && IsPermanent())
return false;
return true;