Allow rewarding kills from same ip address
This commit is contained in:
parent
e978ec306b
commit
5f04d03f75
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue