mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-07 04:47:45 +00:00
fix(core/dbc): improve ChrRace DBC handling (#14843)
Cherry pick of https://github.com/TrinityCore/TrinityCore/pull/24508 Co-authored-by: HelloKitty <5829095+HelloKitty@users.noreply.github.com>
This commit is contained in:
@@ -744,7 +744,7 @@ uint32 Battleground::GetRealRepFactionForPlayer(uint32 factionId, Player* player
|
||||
if (player)
|
||||
{
|
||||
// if the bg team is not the original team, reverse reputation
|
||||
if (player->GetBgTeamId() != player->GetTeamId(true))
|
||||
if (player->GetBgTeamId() != player->GetTeamId())
|
||||
{
|
||||
switch (factionId)
|
||||
{
|
||||
|
||||
@@ -144,7 +144,7 @@ GroupQueueInfo* BattlegroundQueue::AddGroup(Player* leader, Group* group, Battle
|
||||
ginfo->JoinTime = GameTime::GetGameTimeMS().count();
|
||||
ginfo->RemoveInviteTime = 0;
|
||||
ginfo->teamId = leader->GetTeamId();
|
||||
ginfo->RealTeamID = leader->GetTeamId(true);
|
||||
ginfo->RealTeamID = leader->GetTeamId();
|
||||
ginfo->ArenaTeamRating = arenaRating;
|
||||
ginfo->ArenaMatchmakerRating = matchmakerRating;
|
||||
ginfo->PreviousOpponentsTeamId = opponentsArenaTeamId;
|
||||
|
||||
Reference in New Issue
Block a user