This commit is contained in:
aozhiwei 2023-10-30 14:52:46 +08:00
parent eff6d72156
commit bfd544d539

View File

@ -1558,6 +1558,17 @@ void Room::UpdateGasInactiveMoba()
NotifyUiUpdate();
battle_start_frameno_ = GetFrameNo();
#if 1
Global::Instance()->verify_set_pos = 1;
for (auto& pair : human_hash_) {
Human* hum = pair.second;
if (!hum->born_point) {
abort();
} else {
hum->SetPos(hum->born_point->RandPoint(this));
}
grid_service->AddCreature(hum);
}
Global::Instance()->verify_set_pos = 0;
#else
CombineTeam();
FillTeam();