From feeb3f564cc08bab928b934023627e72beb488a1 Mon Sep 17 00:00:00 2001 From: Trazom62 Date: Sat, 20 Mar 2010 13:02:34 +0100 Subject: Restore RewardPlayerAndGroupAtKill call from previous commit. This is the xp or honor reward for the tapping player/group. --HG-- branch : trunk --- src/game/Unit.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index f95d58bbf88..0a6f3493572 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -14585,6 +14585,8 @@ void Unit::Kill(Unit *pVictim, bool durabilityLoss) loot->generateMoneyLoot(creature->GetCreatureInfo()->mingold,creature->GetCreatureInfo()->maxgold); } + + player->RewardPlayerAndGroupAtKill(pVictim); } // Do KILL and KILLED procs. KILL proc is called only for the unit who landed the killing blow (or its owner - for pets) regardless of who tapped the victim -- cgit v1.2.3