1
This commit is contained in:
parent
baf75f0f91
commit
cb9d71cb3f
@ -258,7 +258,6 @@ void Car::SyncPos()
|
||||
if (driver_) {
|
||||
Global::Instance()->verify_set_pos = 1;
|
||||
SetPos(driver_->GetPos());
|
||||
Global::Instance()->verify_set_pos = 0;
|
||||
SetMoveDir(driver_->GetMoveDir());
|
||||
for (auto hum : passengers_) {
|
||||
if (hum != driver_) {
|
||||
@ -267,6 +266,7 @@ void Car::SyncPos()
|
||||
room->grid_service->MoveCreature(hum);
|
||||
}
|
||||
}
|
||||
Global::Instance()->verify_set_pos = 0;
|
||||
room->grid_service->MoveCreature(this);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user