mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-03 16:40:21 +01:00
Keep the master standstill threshold, name the pressures
DirectionInitial() and PrepareDirection() go back to EU07_AI_NOMOVEMENT, so a standing consist is left alone at load as it was. The thresholds the brake charging cut-off works with get names instead of bare numbers, as does the overcharge margin in the pipe pressure update.
This commit is contained in:
@@ -4789,7 +4789,7 @@ void TMoverParameters::UpdatePipePressure(double dt)
|
||||
if (CompressedVolume < 0.0)
|
||||
CompressedVolume = 0.0;
|
||||
|
||||
PipeOverchargeTime = ( PipePress > HighPipePress + 0.2 ? PipeOverchargeTime + dt : 0.0 );
|
||||
PipeOverchargeTime = ( PipePress > HighPipePress + PipeOverchargeMargin ? PipeOverchargeTime + dt : 0.0 );
|
||||
}
|
||||
|
||||
// *************************************************************************************************
|
||||
|
||||
Reference in New Issue
Block a user