]> git.mxchange.org Git - flightgear.git/commitdiff
Patch from Julian Foad:
authordavid <david>
Sat, 6 Jul 2002 18:02:06 +0000 (18:02 +0000)
committerdavid <david>
Sat, 6 Jul 2002 18:02:06 +0000 (18:02 +0000)
The present sets of bindings result in the throttle being "squared"
about its centre, which is silly.  This is because the "squared"
parameter is not set by the throttle binding, but the default is
"true".  We discussed this before and I think there was general
agreement that the default should be "false" on the basis of
generality.

src/Main/fg_commands.cxx

index e86f7f849873674e86313d0dfc9699eecf3c8c24..f834ee7b003aa8082e185227a8aeecd43b58fe70 100644 (file)
@@ -62,7 +62,7 @@ public:
   virtual const SGPropertyNode * getFactor () const 
     { return _factor ? _factor : &_dummy_1; }
   virtual const SGPropertyNode * getSquared () const 
-    { return _squared ? _squared : &_dummy_1; }
+    { return _squared ? _squared : &_dummy_0; }
   virtual const SGPropertyNode * getSetting () const 
     { return _setting ? _setting : &_dummy_0; }
   virtual const SGPropertyNode * getOffset () const