mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 02:29:17 +02:00
Fix for MHZ_K5P - no sudden overload in middle posistion
This commit is contained in:
committed by
tmj-fstate
parent
ea5f3ae27a
commit
fb36c1348b
@@ -8426,6 +8426,8 @@ void TMoverParameters::LoadFIZ_Cntrl( std::string const &line ) {
|
||||
lookup->second :
|
||||
TBrakeHandle::NoHandle;
|
||||
}
|
||||
Handle_AutomaticOverload = (extract_value("HAO", line) == "Yes");
|
||||
Handle_ManualOverload = (extract_value("HMO", line) == "Yes");
|
||||
// brakelochandle
|
||||
{
|
||||
std::map<std::string, TBrakeHandle> locbrakehandles{
|
||||
@@ -9258,6 +9260,7 @@ bool TMoverParameters::CheckLocomotiveParameters(bool ReadyFlag, int Dir)
|
||||
default:
|
||||
Handle = std::make_shared<TDriverHandle>();
|
||||
}
|
||||
Handle->SetParams(Handle_AutomaticOverload, Handle_ManualOverload, 0.0, 0.0);
|
||||
|
||||
switch( BrakeLocHandle ) {
|
||||
case TBrakeHandle::FD1:
|
||||
|
||||
Reference in New Issue
Block a user