work better with interpolated brakes
This commit is contained in:
parent
bdec9f1bba
commit
47f6b67365
1 changed files with 2 additions and 2 deletions
|
@ -74,8 +74,8 @@ void FGUFO::update( double dt ) {
|
||||||
|
|
||||||
// read the throttle
|
// read the throttle
|
||||||
double th = globals->get_controls()->get_throttle( 0 );
|
double th = globals->get_controls()->get_throttle( 0 );
|
||||||
if ( globals->get_controls()->get_brake_left() > 0.0
|
if ( globals->get_controls()->get_brake_left() > 0.5
|
||||||
|| globals->get_controls()->get_brake_right() > 0.0 )
|
|| globals->get_controls()->get_brake_right() > 0.5 )
|
||||||
{
|
{
|
||||||
th = -th;
|
th = -th;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue