Fix wrong Team enum usages

This commit is contained in:
郑佩茹
2023-03-16 10:11:09 -06:00
parent 722abae490
commit 2af8266399
3 changed files with 3 additions and 3 deletions

View File

@@ -258,7 +258,7 @@ bool LfgRoleCheckAction::Execute(Event event)
sLFGMgr->UpdateRoleCheck(group->GetGUID());
LOG_INFO("playerbots", "Bot {} {}:{} <{}>: LFG roles checked",
bot->GetGUID().ToString().c_str(), bot->GetTeamId() == ALLIANCE ? "A" : "H", bot->getLevel(), bot->GetName().c_str());
bot->GetGUID().ToString().c_str(), bot->GetTeamId() == TEAM_ALLIANCE ? "A" : "H", bot->getLevel(), bot->GetName().c_str());
return true;
}