16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-19 09:59:18 +02:00

diesel engine startup check fix

This commit is contained in:
tmj-fstate
2019-03-17 19:45:45 +01:00
parent 4855b3a5a5
commit 3edd22e9fa

View File

@@ -6135,8 +6135,8 @@ bool TMoverParameters::dizel_StartupCheck() {
// test the fuel pump
// TODO: add fuel pressure check
if( ( RList[ MainCtrlPos ].R == 0.0 )
|| ( false == FuelPump.is_active ) ) {
if( ( false == FuelPump.is_active )
|| ( ( EngineType == TEngineType::DieselEngine ) && ( RList[ MainCtrlPos ].R == 0.0 ) ) ) {
engineisready = false;
// if( FuelPump.start_type == start_t::manual ) {
// with manual pump control startup procedure is done only once per starter switch press