aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTrazom62 <none@none>2010-03-20 13:02:34 +0100
committerTrazom62 <none@none>2010-03-20 13:02:34 +0100
commitfeeb3f564cc08bab928b934023627e72beb488a1 (patch)
treea10db21d461da772a1517685b01a68af9699e437 /src
parent34fb5df5698470f19c733e34bd0c28450130a55f (diff)
Restore RewardPlayerAndGroupAtKill call from previous commit. This is the xp or honor reward for the tapping player/group.
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/Unit.cpp2
1 files changed, 2 insertions, 0 deletions
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