From: david Date: Sat, 6 Jul 2002 18:02:06 +0000 (+0000) Subject: Patch from Julian Foad: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ee8c5d0a3a381af237bc0453b7ba53ad8d11c169;p=flightgear.git Patch from Julian Foad: 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. --- diff --git a/src/Main/fg_commands.cxx b/src/Main/fg_commands.cxx index e86f7f849..f834ee7b0 100644 --- a/src/Main/fg_commands.cxx +++ b/src/Main/fg_commands.cxx @@ -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