diff --git a/Train.cpp b/Train.cpp index 50afb274..aa7b9cc3 100644 --- a/Train.cpp +++ b/Train.cpp @@ -2640,12 +2640,9 @@ bool TTrain::Update() // Ra 2014-09: napięcia i prądy muszą być ustalone najpierw, bo wysyłane są // ewentualnie na // PoKeys - if ((mvControlled->EngineType != DieselElectric) || - (mvControlled->EngineType != - ElectricInductionMotor)) // Ra 2014-09: czy taki rozdział ma sens? - fHVoltage = - mvControlled->RunningTraction.TractionVoltage; // Winger czy to nie jest zle? - // *mvControlled->Mains); + if ((mvControlled->EngineType != DieselElectric) && (mvControlled->EngineType != ElectricInductionMotor)) // Ra 2014-09: czy taki rozdzia? ma sens? + fHVoltage = mvControlled->RunningTraction.TractionVoltage; // Winger czy to nie jest zle? + // *mvControlled->Mains); else fHVoltage = mvControlled->Voltage; if (ShowNextCurrent)