1
This commit is contained in:
parent
82f50e1ae9
commit
13236a7746
@ -282,6 +282,7 @@ void Car::SyncPos()
|
||||
for (auto hum : passengers_) {
|
||||
if (hum != driver_) {
|
||||
hum->SetPos(GetPos());
|
||||
hum->CheckSpecObject(poly_ext_flags_);
|
||||
hum->SetMoveDir(GetMoveDir());
|
||||
room->grid_service->MoveCreature(hum);
|
||||
}
|
||||
@ -637,6 +638,7 @@ void Car::Update(int delta_time)
|
||||
if (GetDriver()) {
|
||||
App::Instance()->verify_set_pos = 1;
|
||||
GetDriver()->SetPos(GetPos());
|
||||
GetDriver()->CheckSpecObject(poly_ext_flags_);
|
||||
App::Instance()->verify_set_pos = 0;
|
||||
}
|
||||
SyncPos();
|
||||
|
@ -344,6 +344,9 @@ void Player::UpdateMoving()
|
||||
|
||||
void Player::UpdateShot()
|
||||
{
|
||||
#ifdef MYDEBUG
|
||||
a8::XPrintf("UpdateShot fly:%d", {HasBuffEffect(kBET_InWater) ? 1 : 0});
|
||||
#endif
|
||||
if (dead ||
|
||||
downed ||
|
||||
HasBuffEffect(kBET_Jump) ||
|
||||
|
Loading…
x
Reference in New Issue
Block a user