mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-28 12:17:29 +01:00
Merge pull request #192 from jakubg1/fix-ew58-ai-unbrake
Remove brake position check from `TController::PrepareEngine()`
This commit is contained in:
@@ -2857,10 +2857,7 @@ bool TController::PrepareEngine()
|
||||
&& false == IsAnyLineBreakerOpen
|
||||
&& ( false == IsAnyConverterPresent || true == IsAnyConverterEnabled )
|
||||
&& ( false == IsAnyCompressorPresent || true == IsAnyCompressorEnabled )
|
||||
&& ( mvControlling->ScndPipePress > 4.5 || mvControlling->VeselVolume == 0.0 )
|
||||
&& ( static_cast<int>(mvOccupied->fBrakeCtrlPos) == static_cast<int>(mvOccupied->Handle->GetPos(bh_RP))
|
||||
|| static_cast<int>(mvOccupied->fBrakeCtrlPos) != static_cast<int>(mvOccupied->Handle->GetPos(bh_NP))
|
||||
|| mvOccupied->BrakeHandle == TBrakeHandle::NoHandle );
|
||||
&& ( mvControlling->ScndPipePress > 4.5 || mvControlling->VeselVolume == 0.0 );
|
||||
}
|
||||
|
||||
if( true == isready ) {
|
||||
|
||||
Reference in New Issue
Block a user