17
0
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:
maj00r
2026-09-15 18:51:47 +02:00
parent 2531418d26
commit 0a7915ef58
4 changed files with 15 additions and 14 deletions

View File

@@ -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 );
}
// *************************************************************************************************