diff options
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r-- | src/game/Unit.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index f0d6f0b9b4b..c5586f7ae51 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -523,8 +523,7 @@ void Unit::UpdateInterruptMask() { m_interruptMask = 0; for(AuraApplicationList::const_iterator i = m_interruptableAuras.begin(); i != m_interruptableAuras.end(); ++i) - if (*i && (*i)->GetBase() && (*i)->GetBase()->GetSpellProto()) - m_interruptMask |= (*i)->GetBase()->GetSpellProto()->AuraInterruptFlags; + m_interruptMask |= (*i)->GetBase()->GetSpellProto()->AuraInterruptFlags; if (Spell* spell = m_currentSpells[CURRENT_CHANNELED_SPELL]) if (spell->getState() == SPELL_STATE_CASTING) |