aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormegamage <none@none>2008-11-28 11:53:10 -0600
committermegamage <none@none>2008-11-28 11:53:10 -0600
commitb37d7ae04232fc9279e505926468c91f9e26a991 (patch)
tree16090c7dbe20c40fbab4f3535030dc87a9e41f2f /src
parente26beb36c2073bb35151aa0cfee7e95f1b5a3901 (diff)
*Fix Maim.
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/Unit.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index c8c5689fce0..6f42253afdd 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -881,8 +881,9 @@ uint32 Unit::DealDamage(Unit *pVictim, uint32 damage, CleanDamage const* cleanDa
if(damagetype == DIRECT_DAMAGE || damagetype == SPELL_DIRECT_DAMAGE)
{
//TODO: This is from procflag, I do not know which spell needs this
+ //Maim?
//if (!spellProto || !(spellProto->AuraInterruptFlags&AURA_INTERRUPT_FLAG_DIRECT_DAMAGE))
- pVictim->RemoveAurasWithInterruptFlags(AURA_INTERRUPT_FLAG_DIRECT_DAMAGE);
+ pVictim->RemoveAurasWithInterruptFlags(AURA_INTERRUPT_FLAG_DIRECT_DAMAGE, spellProto ? spellProto->Id : 0);
}
if (pVictim->GetTypeId() != TYPEID_PLAYER)