Allow rewarding kills from same ip address

This commit is contained in:
mik1893
2016-07-27 17:41:19 +01:00
committed by Yehonal
parent e978ec306b
commit 5f04d03f75

View File

@@ -7168,12 +7168,13 @@ bool Player::RewardHonor(Unit* uVictim, uint32 groupsize, int32 honor, bool awar
if (HasAura(SPELL_AURA_PLAYER_INACTIVE))
return false;
// check if player has same IP
/* check if player has same IP
if (uVictim && uVictim->GetTypeId() == TYPEID_PLAYER)
{
if (GetSession()->GetRemoteAddress() == uVictim->ToPlayer()->GetSession()->GetRemoteAddress())
return false;
}
*/
uint64 victim_guid = 0;
uint32 victim_rank = 0;