From 47f6b673653b4e3e60c92daf4d8fc64cec8fca59 Mon Sep 17 00:00:00 2001 From: mfranz Date: Wed, 1 Mar 2006 21:04:52 +0000 Subject: [PATCH] work better with interpolated brakes --- src/FDM/UFO.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/FDM/UFO.cxx b/src/FDM/UFO.cxx index f173d32c8..c08d3ca34 100644 --- a/src/FDM/UFO.cxx +++ b/src/FDM/UFO.cxx @@ -74,8 +74,8 @@ void FGUFO::update( double dt ) { // read the throttle double th = globals->get_controls()->get_throttle( 0 ); - if ( globals->get_controls()->get_brake_left() > 0.0 - || globals->get_controls()->get_brake_right() > 0.0 ) + if ( globals->get_controls()->get_brake_left() > 0.5 + || globals->get_controls()->get_brake_right() > 0.5 ) { th = -th; }