From 74a2957af5797c66dc40622e8eaf32f9d1e28daa Mon Sep 17 00:00:00 2001 From: Xanadu Date: Sun, 21 Mar 2010 16:23:50 +0100 Subject: Don't proc KILLED for the victim twice when attacker's pet lands the killing blow. --HG-- branch : trunk --- src/game/Unit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/Unit.cpp') 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); -- cgit v1.2.3