diff --git a/server/gameserver/human.cc b/server/gameserver/human.cc index ac81137..2d233f6 100644 --- a/server/gameserver/human.cc +++ b/server/gameserver/human.cc @@ -169,6 +169,13 @@ void Human::FillMFObjectLess(Room* room, Human* hum, cs::MFPlayerFull* full_data p->set_shoot_offset_y(shoot_offset.y); GetCurrWeapon()->ToPB(p->mutable_weapon()); GetAbility()->FillMFAttrAdditionList(room, this, p->mutable_attr_addition()); + if (GetCar()) { + p->set_car_uniid(GetCar()->car_uniid); + p->set_car_seat(GetSeat()); + } else { + p->set_car_uniid(0); + p->set_car_seat(0); + } } void Human::FillMFObjectFull(Room* room, Human* hum, cs::MFObjectFull* full_data)