16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-21 13:39:18 +02:00

maintenance: minor code cleanup

This commit is contained in:
tmj-fstate
2017-11-30 16:32:59 +01:00
parent 59e8c70564
commit ef2195fbcc
4 changed files with 4 additions and 19 deletions

View File

@@ -3384,7 +3384,7 @@ void TMoverParameters::UpdatePipePressure(double dt)
// dodać jakiś wpis do fizyki na to
if( ( ( Couplers[ b ].Connected->TrainType & ( dt_ET41 | dt_ET42 ) ) != 0 ) &&
( ( Couplers[ b ].CouplingFlag & 36 ) == 36 ) )
LocBrakePress = Max0R( Couplers[ b ].Connected->LocHandle->GetCP(), LocBrakePress );
LocBrakePress = std::max( Couplers[ b ].Connected->LocHandle->GetCP(), LocBrakePress );
//if ((DynamicBrakeFlag) && (EngineType == ElectricInductionMotor))
//{