Core/Player: Add another config option for IsGroupVisibleFor() (#18723)

(cherry-picked from 7c379129e9)
This commit is contained in:
Staleness89
2017-01-05 04:03:48 -08:00
committed by Shauren
parent 114aedcc14
commit 27f8f896a4
2 changed files with 2 additions and 0 deletions

View File

@@ -2268,6 +2268,7 @@ bool Player::IsGroupVisibleFor(Player const* p) const
default: return IsInSameGroupWith(p);
case 1: return IsInSameRaidWith(p);
case 2: return GetTeam() == p->GetTeam();
case 3: return false;
}
}

View File

@@ -1995,6 +1995,7 @@ Support.SuggestionsEnabled = 0
# Default: 1 - (Raid)
# 0 - (Party)
# 2 - (Faction)
# 3 - (None)
Visibility.GroupMode = 1