*Fixed gain reputation and xp reward between group mates in
--HG-- branch : trunk
This commit is contained in:
1 parent
b28a7eb406
commit
abe4388eeb
1 file changed
+3
@@ -18834,6 +18834,9 @@ bool Player::RewardPlayerAndGroupAtKill(Unit* pVictim)
|
||||
|
||||
bool Player::IsAtGroupRewardDistance(WorldObject const* pRewardSource) const
|
||||
{
|
||||
if(GetInstanceId() != pRewardSource->GetInstanceId())
|
||||
return false;
|
||||
|
||||
if(pRewardSource->GetDistance(this) <= sWorld.getConfig(CONFIG_GROUP_XP_DISTANCE))
|
||||
return true;
|
||||
|
||||
|
||||
Reference in new issue
Block a user