mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 22:09:19 +02:00
Poprawka woltomierza prądnicy
This commit is contained in:
@@ -2640,11 +2640,8 @@ bool TTrain::Update()
|
|||||||
// Ra 2014-09: napiêcia i pr¹dy musz¹ byæ ustalone najpierw, bo wysy³ane s¹
|
// Ra 2014-09: napiêcia i pr¹dy musz¹ byæ ustalone najpierw, bo wysy³ane s¹
|
||||||
// ewentualnie na
|
// ewentualnie na
|
||||||
// PoKeys
|
// PoKeys
|
||||||
if ((mvControlled->EngineType != DieselElectric) ||
|
if ((mvControlled->EngineType != DieselElectric) && (mvControlled->EngineType != ElectricInductionMotor)) // Ra 2014-09: czy taki rozdzia? ma sens?
|
||||||
(mvControlled->EngineType !=
|
fHVoltage = mvControlled->RunningTraction.TractionVoltage; // Winger czy to nie jest zle?
|
||||||
ElectricInductionMotor)) // Ra 2014-09: czy taki rozdzia³ ma sens?
|
|
||||||
fHVoltage =
|
|
||||||
mvControlled->RunningTraction.TractionVoltage; // Winger czy to nie jest zle?
|
|
||||||
// *mvControlled->Mains);
|
// *mvControlled->Mains);
|
||||||
else
|
else
|
||||||
fHVoltage = mvControlled->Voltage;
|
fHVoltage = mvControlled->Voltage;
|
||||||
|
|||||||
Reference in New Issue
Block a user