aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/game/SpellAuras.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp
index 19d27668ca0..bbed9ef9858 100644
--- a/src/game/SpellAuras.cpp
+++ b/src/game/SpellAuras.cpp
@@ -1854,21 +1854,20 @@ bool Aura::CanBeSaved() const
bool Aura::IsPersistent() const
{
+ return IS_DYNAMICOBJECT_GUID(m_sourceGuid);
+ /*
for(uint8 i = 0; i < MAX_SPELL_EFFECTS; ++i)
- {
if(m_partAuras[i] && m_partAuras[i]->IsPersistent())
return true;
- }
return false;
+ */
}
bool Aura::IsAreaAura() const
{
for(uint8 i = 0; i < MAX_SPELL_EFFECTS; ++i)
- {
if(m_partAuras[i] && m_partAuras[i]->IsAreaAura())
return true;
- }
return false;
}