This commit is contained in:
aozhiwei 2023-08-17 14:48:03 +08:00
parent 0f3c154067
commit 2f1114fc1e

View File

@ -569,7 +569,7 @@ void Incubator::Rearrangement()
if (team_num_hash.find(hum->team_id) != team_num_hash.end()) {
++team_num_hash[hum->team_id];
} else {
team_num_hash[hum->team_id];
team_num_hash[hum->team_id] = 1;
}
hum->sort_id = i;
++i;
@ -614,11 +614,11 @@ void Incubator::Rearrangement()
}
#ifdef DEBUG
{
std::string data = "Rearrangement ";
std::string data = "Rearrangement team_id:" + a8::XValue(team_id).GetString() + " ";
for (auto hum : hold_humans_) {
data += a8::XValue(hum->team_id) + ",";
data += a8::XValue(hum->team_id).GetString() + ",";
}
a8::XPrintf("%s\n", {data});
a8::XPrintf("%s !%d %d %d\n", {data, teams2.size(), teams3.size(), teams4.size()});
}
#endif
}