aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorXanadu <none@none>2010-03-21 16:23:50 +0100
committerXanadu <none@none>2010-03-21 16:23:50 +0100
commit74a2957af5797c66dc40622e8eaf32f9d1e28daa (patch)
treea21dbd61e73b3d286751d6bad4b8fba34ab81e5f /src
parentd01d4498ede1f0ff57e762f5c99f39012d9adcd6 (diff)
Don't proc KILLED for the victim twice when attacker's pet lands the killing blow.
--HG-- branch : trunk
Diffstat (limited to 'src')
-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 a9a347d8251..3d63555ab0b 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -14587,7 +14587,7 @@ void Unit::Kill(Unit *pVictim, bool durabilityLoss)
if (isPet() || isTotem())
{
if (Unit *owner = GetOwner())
- owner->ProcDamageAndSpell(pVictim, PROC_FLAG_KILL, PROC_FLAG_KILLED, PROC_EX_NONE, 0);
+ owner->ProcDamageAndSpell(pVictim, PROC_FLAG_KILL, PROC_FLAG_NONE, PROC_EX_NONE, 0);
}
ProcDamageAndSpell(pVictim, PROC_FLAG_KILL, PROC_FLAG_KILLED, PROC_EX_NONE, 0);