16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-22 03:29:19 +02:00

build 190430. ai braking logic tweaks

This commit is contained in:
tmj-fstate
2019-05-01 03:44:53 +02:00
parent fbe570950d
commit 57f7ac27da
5 changed files with 62 additions and 35 deletions

View File

@@ -385,6 +385,11 @@ void TBrake::Releaser( int const state )
BrakeStatus = (BrakeStatus & ~b_rls) | ( state * b_rls );
}
bool TBrake::Releaser() const {
return ( ( BrakeStatus & b_rls ) == b_rls );
}
void TBrake::SetEPS( double const nEPS )
{
}