diff options
author | Shauren <shauren.trinity@gmail.com> | 2024-03-24 14:39:29 +0100 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2024-03-24 17:19:10 +0100 |
commit | 94b78ebc8b0eb09409d0db36bebfde85a1644fe8 (patch) | |
tree | a948fed605007b2fb3c19c883b26da7eb0ef266d /src/server/game/Battlegrounds/Battleground.cpp | |
parent | aac5581bfce1955d5f483521bf77d3d97397d201 (diff) |
Core/Players: Slightly improve neutral player faction support
Diffstat (limited to 'src/server/game/Battlegrounds/Battleground.cpp')
-rw-r--r-- | src/server/game/Battlegrounds/Battleground.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/server/game/Battlegrounds/Battleground.cpp b/src/server/game/Battlegrounds/Battleground.cpp index fff4ceebca7..edd00f0f041 100644 --- a/src/server/game/Battlegrounds/Battleground.cpp +++ b/src/server/game/Battlegrounds/Battleground.cpp @@ -1705,11 +1705,6 @@ Team Battleground::GetPlayerTeam(ObjectGuid guid) const return TEAM_OTHER; } -Team Battleground::GetOtherTeam(Team team) const -{ - return team ? ((team == ALLIANCE) ? HORDE : ALLIANCE) : TEAM_OTHER; -} - bool Battleground::IsPlayerInBattleground(ObjectGuid guid) const { BattlegroundPlayerMap::const_iterator itr = m_Players.find(guid); |