fix(Core): Fix build - C3848 compile error (#2194)
This commit is contained in:
@@ -653,7 +653,7 @@ void BattlegroundQueue::UpdateEvents(uint32 diff)
|
|||||||
m_events.Update(diff);
|
m_events.Update(diff);
|
||||||
}
|
}
|
||||||
|
|
||||||
struct BgEmptinessComp { bool operator()(Battleground* const& bg1, Battleground* const& bg2) { return ((float)bg1->GetMaxFreeSlots() / (float)bg1->GetMaxPlayersPerTeam()) > ((float)bg2->GetMaxFreeSlots() / (float)bg2->GetMaxPlayersPerTeam()); } };
|
struct BgEmptinessComp { bool operator()(Battleground* const& bg1, Battleground* const& bg2) const { return ((float)bg1->GetMaxFreeSlots() / (float)bg1->GetMaxPlayersPerTeam()) > ((float)bg2->GetMaxFreeSlots() / (float)bg2->GetMaxPlayersPerTeam()); } };
|
||||||
typedef std::set<Battleground*, BgEmptinessComp> BattlegroundNeedSet;
|
typedef std::set<Battleground*, BgEmptinessComp> BattlegroundNeedSet;
|
||||||
|
|
||||||
void BattlegroundQueue::BattlegroundQueueUpdate(BattlegroundBracketId bracket_id, uint8 actionMask, bool isRated, uint32 arenaRatedTeamId)
|
void BattlegroundQueue::BattlegroundQueueUpdate(BattlegroundBracketId bracket_id, uint8 actionMask, bool isRated, uint32 arenaRatedTeamId)
|
||||||
|
|||||||
Reference in New Issue
Block a user