1
This commit is contained in:
parent
0cd2123369
commit
e1a15cec09
@ -4237,10 +4237,10 @@ void Human::DoGetOnWithLoot(Loot* entity)
|
||||
}
|
||||
car_ = room->CreateCar(
|
||||
this,
|
||||
entity->GetEntityUniId(),
|
||||
item_meta,
|
||||
GetPos()
|
||||
);
|
||||
car_->car_uniid = entity->GetEntityUniId();
|
||||
SetCar(car_);
|
||||
SetSeat(0);
|
||||
SetPos(entity->GetPos());
|
||||
|
@ -798,10 +798,10 @@ void Player::ProcPrepareItems(const ::google::protobuf::RepeatedField< ::google:
|
||||
Car* car = room->CreateCar
|
||||
(
|
||||
this,
|
||||
car_uniid,
|
||||
item_meta,
|
||||
GetPos()
|
||||
);
|
||||
car->car_uniid = car_uniid;
|
||||
SetCar(car);
|
||||
SetSeat(0);
|
||||
}
|
||||
|
@ -524,6 +524,7 @@ void Room::CreateBullet(Human* hum,
|
||||
}
|
||||
|
||||
Car* Room::CreateCar(Human* driver,
|
||||
int car_uniid,
|
||||
MetaData::Equip* meta,
|
||||
const a8::Vec2& pos)
|
||||
{
|
||||
|
@ -108,6 +108,7 @@ public:
|
||||
float fly_distance,
|
||||
bool is_tank_skin = false);
|
||||
Car* CreateCar(Human* driver,
|
||||
int car_uniid,
|
||||
MetaData::Equip* meta,
|
||||
const a8::Vec2& pos);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user