mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 16:38:42 +01:00
Core/Players: Fix console errors of wrong teamid for neutral pandaren race
(cherry picked from commit aac5581bfc)
This commit is contained in:
@@ -6332,6 +6332,7 @@ Team Player::TeamForRace(uint8 race)
|
||||
{
|
||||
case 0: return ALLIANCE;
|
||||
case 1: return HORDE;
|
||||
case 2: return PANDARIA_NEUTRAL;
|
||||
}
|
||||
TC_LOG_ERROR("entities.player", "Race ({}) has wrong teamid ({}) in DBC: wrong DBC files?", uint32(race), rEntry->Alliance);
|
||||
}
|
||||
|
||||
@@ -1138,6 +1138,7 @@ enum Team
|
||||
//TEAM_HORDE_FORCES = 892,
|
||||
//TEAM_SANCTUARY = 936,
|
||||
//TEAM_OUTLAND = 980,
|
||||
PANDARIA_NEUTRAL = 1249, // Starting pandas should have this team
|
||||
TEAM_OTHER = 0 // if ReputationListId > 0 && Flags != FACTION_FLAG_TEAM_HEADER
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user