This commit is contained in:
aozhiwei 2021-06-03 17:38:30 +08:00
parent 092f8c1764
commit d36c300161
2 changed files with 2 additions and 1 deletions

View File

@ -147,6 +147,7 @@ void Car::GetOn(Human* passenger)
passengers_.insert(passenger); passengers_.insert(passenger);
if (!driver_) { if (!driver_) {
driver_ = passenger; driver_ = passenger;
driver_->SetAttackDir(a8::Vec2::UP);
SetAttackDir(driver_->GetAttackDir()); SetAttackDir(driver_->GetAttackDir());
} }
passenger->SetCar(this); passenger->SetCar(this);

View File

@ -3773,7 +3773,7 @@ void Human::SendRollMsgEx(KillInfo& info,
element->mutable_union_obj_2()->set_id(info.weapon_id); element->mutable_union_obj_2()->set_id(info.weapon_id);
} }
result = ""; result = "";
p = p1 + strlen("${weapon_text_icon}"); p = p1 + strlen("${weapon_text_icon}") - 1;
} else { } else {
result.push_back(*p); result.push_back(*p);
} }