From f62e062b0d25b18f919ad6d9e4dea5bdf2cca544 Mon Sep 17 00:00:00 2001 From: megamage Date: Tue, 10 Feb 2009 09:53:59 -0600 Subject: *Fix a crash in _AddAura --HG-- branch : trunk --- src/game/SpellAuras.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index cf7ad71245e..efc7417f551 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -832,6 +832,8 @@ void Aura::_AddAura() AuraSlotEntry * entry; entry=m_target->GetVisibleAura(slot); + if(!entry) + return; entry->m_Flags |= (1 << GetEffIndex()); entry->m_slotAuras[GetEffIndex()]=this; -- cgit v1.2.3