]> git.mxchange.org Git - flightgear.git/commitdiff
work better with interpolated brakes
authormfranz <mfranz>
Wed, 1 Mar 2006 21:04:52 +0000 (21:04 +0000)
committermfranz <mfranz>
Wed, 1 Mar 2006 21:04:52 +0000 (21:04 +0000)
src/FDM/UFO.cxx

index f173d32c8d703032cc109933268ef3a344b2cbf0..c08d3ca3467256ada6ebe63268960117d0191bd6 100644 (file)
@@ -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.
-         || 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;
     }