diff --git a/Driver.cpp b/Driver.cpp index ecf0e551..a3b15065 100644 --- a/Driver.cpp +++ b/Driver.cpp @@ -3586,7 +3586,7 @@ void TController::SetTimeControllers() } } - if( std::abs( DizelPercentage_Speed - DizelActualPercentage ) > ( DizelPercentage > 1 ? 3 : 0 ) ) { + if( std::abs( DizelPercentage_Speed - DizelActualPercentage ) > ( DizelPercentage > 1 ? 0 : 0 ) ) { if( ( PosDec > 0 ) && ( ( DizelActualPercentage - DizelPercentage_Speed > 50 ) diff --git a/driveruipanels.cpp b/driveruipanels.cpp index 7acfad6f..9047f561 100644 --- a/driveruipanels.cpp +++ b/driveruipanels.cpp @@ -899,7 +899,8 @@ debug_panel::update_section_ai( std::vector &Output ) { + "+" + to_string( mechanik.fBrake_a1[ 0 ], 2 ) + "\n virtual brake position: " + to_string(mechanik.BrakeCtrlPosition, 2) + "\n desired diesel percentage: " + to_string(mechanik.DizelPercentage, 0) - + "/" + to_string(mechanik.DizelPercentage_Speed, 0); + + "/" + to_string(mechanik.DizelPercentage_Speed, 0) + + "/" + to_string(100.4*mechanik.mvControlling->eimic_real, 0); Output.emplace_back( textline, Global.UITextColor );