We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f890b0 commit 5d22bbeCopy full SHA for 5d22bbe
Source/Orts.Simulation/Simulation/Physics/Train.cs
@@ -3970,6 +3970,14 @@ public virtual void InitializeBrakes()
3970
Simulator.Confirmer.Warning(CabControl.InitializeBrakes, CabSetting.Warn1);
3971
return;
3972
}
3973
+ if (Simulator.Settings.VerboseConfigurationMessages && LeadLocomotiveIndex >= 0) // Check incompatibilities between brake control valves
3974
+ {
3975
+ MSTSLocomotive lead = (MSTSLocomotive)Cars[LeadLocomotiveIndex];
3976
+ if (Cars.Any(x => (x as MSTSWagon).BrakeValve != lead.BrakeValve))
3977
3978
+ Trace.TraceInformation("Cars along the train have incompatible brake control valves");
3979
+ }
3980
3981
UnconditionalInitializeBrakes();
3982
3983
0 commit comments