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

Poprawka woltomierza prądnicy

This commit is contained in:
firleju
2016-03-16 21:08:53 +01:00
parent d73104f366
commit 880bbea785

View File

@@ -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)