diff options
| author | Trazom62 <none@none> | 2010-03-20 13:02:34 +0100 |
|---|---|---|
| committer | Trazom62 <none@none> | 2010-03-20 13:02:34 +0100 |
| commit | feeb3f564cc08bab928b934023627e72beb488a1 (patch) | |
| tree | a10db21d461da772a1517685b01a68af9699e437 /src | |
| parent | 34fb5df5698470f19c733e34bd0c28450130a55f (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.cpp | 2 |
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 |
