mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-02 02:23:49 +00:00
[CORE] Impl. GetTeamId parameter to get original team
This commit is contained in:
@@ -2074,7 +2074,7 @@ class Player : public Unit, public GridObject<Player>
|
||||
void CheckAreaExploreAndOutdoor(void);
|
||||
|
||||
static TeamId TeamIdForRace(uint8 race);
|
||||
TeamId GetTeamId() const { return m_team; }
|
||||
TeamId GetTeamId(bool original = false) const { return original ? TeamIdForRace(getRace()) : m_team; };
|
||||
void setFactionForRace(uint8 race);
|
||||
|
||||
void InitDisplayIds();
|
||||
|
||||
Reference in New Issue
Block a user