aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
authorQAston <none@none>2010-02-15 20:59:05 +0100
committerQAston <none@none>2010-02-15 20:59:05 +0100
commit4cd4c4170f70a0715daad52b2f1831b6017d647a (patch)
tree940a3d602d5c18e770258ac13aae5e57a2444f9e /src/game/Unit.cpp
parent7b434fb1c350ffa6d738cef6fd401c6c184f0204 (diff)
*Backout some WTF fixes. Do things correctly, or do not touch them at all...
*Really fix windows build. --HG-- branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r--src/game/Unit.cpp3
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)