中手队伍合并
This commit is contained in:
parent
f66e1ea989
commit
bd61ccf43f
@ -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_) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user