From 71a19f32fb101e987917c6fe75ad04ee04d26245 Mon Sep 17 00:00:00 2001 From: pwarszawski Date: Mon, 12 Oct 2026 06:54:17 +0200 Subject: [PATCH] Compare the brake force with 10 kN directly --- vehicle/Driver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vehicle/Driver.cpp b/vehicle/Driver.cpp index 4b6d81ff..2f40b2e1 100644 --- a/vehicle/Driver.cpp +++ b/vehicle/Driver.cpp @@ -5906,7 +5906,7 @@ TController::determine_consist_state() { isbraking || bp > 0.4 : // ensure the brakes are sufficiently released when starting to move // once in motion a brake down to 0.4 bar counts as released (UIC), even if its distributor // is still in the lap position while the brake pipe recharges - ( isbraking && bp > 0.4 ) || vehicle->Fb * 0.001 > 10.0 ) { + ( isbraking && bp > 0.4 ) || vehicle->Fb > 10000.0 ) { // 10 kN Ready = false; } // Ra: odluźnianie przeładowanych lokomotyw, ciągniętych na zimno - prowizorka...