mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 10:37:03 +00:00
[9921] In case player who tap creature in group leave group it must anyway rewarded with group.
This commit is contained in:
parent
e5dc7a098c
commit
bed8794a75
5 changed files with 88 additions and 55 deletions
|
|
@ -714,7 +714,7 @@ uint32 Unit::DealDamage(Unit *pVictim, uint32 damage, CleanDamage const* cleanDa
|
|||
if (player_tap != pVictim)
|
||||
{
|
||||
if (group_tap)
|
||||
group_tap->RewardGroupAtKill(pVictim);
|
||||
group_tap->RewardGroupAtKill(pVictim, player_tap);
|
||||
else if (player_tap)
|
||||
player_tap->RewardSinglePlayerAtKill(pVictim);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue