mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-19 09:59:18 +02:00
Fixed BrakeHandle type MHZ_EN57 and brake operation mode selector
This commit is contained in:
committed by
tmj-fstate
parent
bb87a63eed
commit
fc1f57a5d4
@@ -3025,7 +3025,7 @@ bool TDynamicObject::Update(double dt, double dt1)
|
||||
}
|
||||
|
||||
auto FzadED { 0.0 };
|
||||
if( ( MoverParameters->EpFuse )
|
||||
if( ( MoverParameters->EpFuse && (MoverParameters->BrakeHandle != MHZ_EN57))
|
||||
|| ( ( MoverParameters->BrakeHandle == MHZ_EN57 )
|
||||
&& ( MoverParameters->BrakeOpModeFlag & bom_MED ) ) ) {
|
||||
FzadED = std::min( Fzad, FmaxED );
|
||||
|
||||
Reference in New Issue
Block a user