diff options
| author | megamage <none@none> | 2009-02-10 09:53:59 -0600 |
|---|---|---|
| committer | megamage <none@none> | 2009-02-10 09:53:59 -0600 |
| commit | f62e062b0d25b18f919ad6d9e4dea5bdf2cca544 (patch) | |
| tree | 332ed8e95f675289e08aedc098c3a12e6ca78a49 /src | |
| parent | 452e0971eb0ccf8dfd9e19d1cd66c59290e6ac9f (diff) | |
*Fix a crash in _AddAura
--HG--
branch : trunk
Diffstat (limited to 'src')
| -rw-r--r-- | src/game/SpellAuras.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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; |
