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