中手队伍合并

This commit is contained in:
aozhiwei 2020-05-26 17:04:31 +08:00
parent f66e1ea989
commit bd61ccf43f

View File

@ -1015,6 +1015,14 @@ void Room::CombineTeam()
std::map<int, size_t> need_combine_teams;
std::map<int, size_t> need_combine_teams_copy;
if (room_type == RT_MidBrid) {
for (auto& pair : accountid_hash_) {
Human* hum = pair.second;
hum->auto_fill = true;
hum->team_uuid = a8::XValue(room_uuid).GetString();
}
}
int first_team_id = 0;
int total_count = 0;
for (auto& pair : team_hash_) {