1
This commit is contained in:
parent
eff6d72156
commit
bfd544d539
@ -1558,6 +1558,17 @@ void Room::UpdateGasInactiveMoba()
|
|||||||
NotifyUiUpdate();
|
NotifyUiUpdate();
|
||||||
battle_start_frameno_ = GetFrameNo();
|
battle_start_frameno_ = GetFrameNo();
|
||||||
#if 1
|
#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
|
#else
|
||||||
CombineTeam();
|
CombineTeam();
|
||||||
FillTeam();
|
FillTeam();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user