diff options
| author | megamage <none@none> | 2009-05-29 00:18:41 -0500 |
|---|---|---|
| committer | megamage <none@none> | 2009-05-29 00:18:41 -0500 |
| commit | bc32144310e94e0c7e62c7cd7119bfdd4e719e6f (patch) | |
| tree | edb4c10942113f366058e8dd3b51e30a30559989 /src/game/Player.h | |
| parent | 1288761fb704be6d3c24e8480a809f66200ddf04 (diff) | |
*Update OutdoorPvP functions. No longer need creature triggers for capture points.
--HG--
branch : trunk
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); |
