aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
authorQAston <none@none>2009-03-15 19:23:37 +0100
committerQAston <none@none>2009-03-15 19:23:37 +0100
commit9dedddcb40e5915a9ba6a5a073cf0ac5f2a5d10d (patch)
tree9b66381311260232dfde3ad684b76b8152f23260 /src/game/Unit.cpp
parentb7251e2643c67a2e20229bf9f22b774891c92b14 (diff)
*Fix compile.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r--src/game/Unit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index 424cf3ee043..c420150bba8 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -4332,7 +4332,7 @@ void Unit::RemoveAura(AuraMap::iterator &i, AuraRemoveMode mode)
UpdateInterruptMask();
}
- if(Aur->GetSpellProto()->Attributes & SPELL_ATTR_BREAKABLE_BY_DAMAGE)
+ if((Aur->GetSpellProto()->Attributes & SPELL_ATTR_BREAKABLE_BY_DAMAGE
&& Aur->GetModifier()->m_auraname != SPELL_AURA_MOD_POSSESS) //only dummy aura is breakable
|| (Aur->GetSpellProto()->Mechanic==MECHANIC_KNOCKOUT && Aur->GetModifier()->m_auraname==SPELL_AURA_MOD_STUN))
{