From 880bbea785ad043748f018f051b52ed62f3150b4 Mon Sep 17 00:00:00 2001 From: firleju Date: Wed, 16 Mar 2016 21:08:53 +0100 Subject: [PATCH] =?UTF-8?q?Poprawka=20woltomierza=20pr=C4=85dnicy?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Train.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) 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)