fix(Handling/brakes): Brake bias member changed name
This commit is contained in:
parent
8eef040e30
commit
7585536f8c
@ -10,9 +10,9 @@ namespace big
|
||||
ImGui::SliderFloat("##brake force", &g_vehicle->m_handling->m_brake_force, 0.f, 50.f);
|
||||
|
||||
ImGui::Text("Brake Bias (1.0 = front, 0.0 = rear, 0.5 = balanced)");
|
||||
float fBrakeBias = g_vehicle->m_handling->m_brake_bias / 2;
|
||||
float fBrakeBias = g_vehicle->m_handling->m_brake_bias_front / 2;
|
||||
if (ImGui::SliderFloat("##brake bias front", &fBrakeBias, 0.f, 1.f))
|
||||
g_vehicle->m_handling->m_brake_bias = fBrakeBias * 2;
|
||||
g_vehicle->m_handling->m_brake_bias_front = fBrakeBias * 2;
|
||||
|
||||
ImGui::Text("Hand Brake Force");
|
||||
ImGui::SliderFloat("##hand brake force", &g_vehicle->m_handling->m_handbrake_force, 0.f, 50.f);
|
||||
|
Reference in New Issue
Block a user