fix(handling): fix crash with veto modern (#1019)
This commit is contained in:
parent
7a3c55e759
commit
6b6dabfeba
@ -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
|
||||
|
Reference in New Issue
Block a user