aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTartalo <none@none>2010-03-20 13:07:24 +0100
committerTartalo <none@none>2010-03-20 13:07:24 +0100
commit3c2d7a4bbae90255b7de454b92a62d9099bc279e (patch)
tree01afe3f298c8ae55aafcf3ed3f2fe0339408fcaf
parent5bd575b974ce20557d8253df76e7b508ddef8fe2 (diff)
parentfeeb3f564cc08bab928b934023627e72beb488a1 (diff)
Merge
--HG-- branch : trunk
-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