From 7585536f8cfc63f8c94476e1f86130ed9402eb27 Mon Sep 17 00:00:00 2001 From: Yimura Date: Fri, 22 Jan 2021 12:36:54 +0100 Subject: [PATCH] fix(Handling/brakes): Brake bias member changed name --- BigBaseV2/src/gui/tab_bar/handling/brakes.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BigBaseV2/src/gui/tab_bar/handling/brakes.cpp b/BigBaseV2/src/gui/tab_bar/handling/brakes.cpp index 4f1d2f06..04594173 100644 --- a/BigBaseV2/src/gui/tab_bar/handling/brakes.cpp +++ b/BigBaseV2/src/gui/tab_bar/handling/brakes.cpp @@ -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);