This commit is contained in:
aozhiwei 2021-05-06 17:15:30 +08:00
parent 693122d08d
commit b9caccf0f4

View File

@ -225,6 +225,7 @@ void Buff::ProcDriver(Creature* caster)
hum->weapons[hum->GetCar()->GetCurrWeapon()->weapon_idx] = *hum->GetCar()->GetCurrWeapon();
if (hum->GetCar()->meta && !hum->GetCar()->meta->shoot_offsets.empty()) {
hum->shoot_offset = hum->GetCar()->meta->shoot_offsets[0];
hum->GetCar()->shoot_offset = hum->GetCar()->meta->shoot_offsets[0];
}
}
}