1
0
Fork 0

work better with interpolated brakes

This commit is contained in:
mfranz 2006-03-01 21:04:52 +00:00
parent bdec9f1bba
commit 47f6b67365

View file

@ -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;
} }