diff --git a/server/gameserver/car.cc b/server/gameserver/car.cc index 6af00024..71942385 100644 --- a/server/gameserver/car.cc +++ b/server/gameserver/car.cc @@ -284,6 +284,7 @@ void Car::SyncPos() hum->SetPos(GetPos()); hum->SetMoveDir(GetMoveDir()); room->grid_service->MoveCreature(hum); + hum->SyncServerPos(kNormalReason); } } App::Instance()->verify_set_pos = 0; @@ -634,6 +635,7 @@ void Car::Update(int delta_time) App::Instance()->verify_set_pos = 1; GetDriver()->SetPos(GetPos()); App::Instance()->verify_set_pos = 0; + GetDriver()->SyncServerPos(kNormalReason); } SyncPos(); #ifdef MYDEBUG1