diff options
Diffstat (limited to 'src/game/Player.h')
-rw-r--r-- | src/game/Player.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/Player.h b/src/game/Player.h index 0d7d3068d92..33693842154 100644 --- a/src/game/Player.h +++ b/src/game/Player.h @@ -1650,6 +1650,7 @@ class TRINITY_DLL_SPEC Player : public Unit static uint32 TeamForRace(uint8 race); uint32 GetTeam() const { return m_team; } + TeamId GetTeamId() const { return m_team == ALLIANCE ? TEAM_ALLIANCE : TEAM_HORDE; } static uint32 getFactionForRace(uint8 race); void setFactionForRace(uint8 race); |