mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-06-17 23:07:26 +08:00
fix(handling): fix crash with veto modern (#1019)
This commit is contained in:
parent
f34940847c
commit
d209cb02ab
@ -6,6 +6,9 @@ namespace big
|
||||
{
|
||||
m_gravity = vehicle->m_gravity;
|
||||
m_handling_data = *vehicle->m_handling_data;
|
||||
|
||||
if(std::isinf(m_handling_data.m_traction_spring_delta_max_ratio))
|
||||
m_handling_data.m_traction_spring_delta_max_ratio = 0.f;
|
||||
}
|
||||
|
||||
void handling_profile::apply_to(CVehicle* vehicle, bool restore_hash) const
|
||||
|
Loading…
x
Reference in New Issue
Block a user