mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core/Battlegrounds: Clean up some Team/TeamId parameters to use enums instead of raw integer types (#29535)
* Fix criteria data type bg loss team score
This commit is contained in:
@@ -141,7 +141,7 @@ void WorldSession::HandleMoveWorldportAck()
|
||||
// We're not in BG
|
||||
player->SetBattlegroundId(0, BATTLEGROUND_TYPE_NONE, BATTLEGROUND_QUEUE_NONE);
|
||||
// reset destination bg team
|
||||
player->SetBGTeam(0);
|
||||
player->SetBGTeam(TEAM_OTHER);
|
||||
}
|
||||
// join to bg case
|
||||
else if (Battleground* bg = player->GetBattleground())
|
||||
|
||||
Reference in New Issue
Block a user