mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 00:09:18 +02:00
Fix for BrakeHandle in DMUs after emergency braking
This commit is contained in:
committed by
tmj-fstate
parent
5a85786a42
commit
d1d5841d60
@@ -3987,7 +3987,7 @@ void TMoverParameters::UpdatePipePressure(double dt)
|
|||||||
|| ( ( BrakeHandle != TBrakeHandle::MHZ_EN57 )
|
|| ( ( BrakeHandle != TBrakeHandle::MHZ_EN57 )
|
||||||
&& ( BrakeHandle != TBrakeHandle::MHZ_K8P ) ) ) {
|
&& ( BrakeHandle != TBrakeHandle::MHZ_K8P ) ) ) {
|
||||||
double pos = BrakeCtrlPosR;
|
double pos = BrakeCtrlPosR;
|
||||||
if (SpeedCtrl && SpeedCtrlUnit.BrakeIntervention && !SpeedCtrlUnit.Standby) {
|
if (SpeedCtrlUnit.IsActive && SpeedCtrlUnit.BrakeIntervention && !SpeedCtrlUnit.Standby) {
|
||||||
pos = Handle->GetPos(bh_NP);
|
pos = Handle->GetPos(bh_NP);
|
||||||
if (SpeedCtrlUnit.BrakeInterventionBraking)
|
if (SpeedCtrlUnit.BrakeInterventionBraking)
|
||||||
pos = Handle->GetPos(bh_FB);
|
pos = Handle->GetPos(bh_FB);
|
||||||
|
|||||||
Reference in New Issue
Block a user