Restore RewardPlayerAndGroupAtKill call from previous commit. This is the xp or honor reward for the tapping player/group.

--HG--
branch : trunk
This commit is contained in:
Trazom62
2010-03-20 13:02:34 +01:00
parent 34fb5df569
commit feeb3f564c
+2
View File
@@ -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