*Fix single target auras related crash
*Apply aura stacking rules to m_ownedAuras holder. --HG-- branch : trunk
This commit is contained in:
1 parent
72277c583b
commit
69b2900137
5 files changed
+185
-118
No files matched your search
@@ -120,7 +120,8 @@ void DynamicObject::Update(uint32 p_time)
|
||||
if (!m_aura->IsRemoved())
|
||||
m_aura->UpdateOwner(p_time, this);
|
||||
|
||||
if (m_aura->IsRemoved() || m_aura->IsExpired())
|
||||
// m_aura may be set to null in Unit::RemoveGameObject call
|
||||
if (m_aura && (m_aura->IsRemoved() || m_aura->IsExpired()))
|
||||
expired = true;
|
||||
}
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user