mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-19 13:29:18 +02:00
Fix in AI DecBrake() for MHZ_EN57
This commit is contained in:
committed by
tmj-fstate
parent
2afae27873
commit
c57f0097d3
@@ -2628,7 +2628,7 @@ bool TController::DecBrake()
|
||||
case ElectroPneumatic:
|
||||
if (mvOccupied->EngineType == ElectricInductionMotor) {
|
||||
if (mvOccupied->BrakeHandle == MHZ_EN57) {
|
||||
if (mvOccupied->BrakeCtrlPos > mvOccupied->Handle->GetPos(bh_MB))
|
||||
if (mvOccupied->BrakeCtrlPos > mvOccupied->Handle->GetPos(bh_RP))
|
||||
OK = mvOccupied->BrakeLevelAdd(-1.0);
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user