]> git.mxchange.org Git - flightgear.git/commitdiff
don't overwrite rudder position with nose wheel position
authormfranz <mfranz>
Wed, 7 Nov 2007 17:41:31 +0000 (17:41 +0000)
committermfranz <mfranz>
Wed, 7 Nov 2007 17:41:31 +0000 (17:41 +0000)
src/Network/native_fdm.cxx

index b1bebc5f81b66088c7ba8626ea4e80a6bf9a85d3..0d499b4e988541fa8b9be5dbd46b98e7c96b89bd 100644 (file)
@@ -214,7 +214,7 @@ void FGProps2NetFDM( FGNetFDM *net, bool net_byte_order ) {
     net->left_aileron = node->getDoubleValue( "left-aileron-pos-norm" );
     net->right_aileron = node->getDoubleValue( "right-aileron-pos-norm" );
     net->rudder = node->getDoubleValue( "rudder-pos-norm" );
-    net->rudder = node->getDoubleValue( "nose-wheel-pos-norm" );
+    net->nose_wheel = node->getDoubleValue( "nose-wheel-pos-norm" );
     net->speedbrake = node->getDoubleValue( "speedbrake-pos-norm" );
     net->spoilers = node->getDoubleValue( "spoilers-pos-norm" );