From: curt Date: Tue, 26 Jun 2007 21:29:59 +0000 (+0000) Subject: Fix a long standing bug in a code path that is probably executed very rarely. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=50c7a31de815b7b9fef1580af8460148e638581e;p=flightgear.git Fix a long standing bug in a code path that is probably executed very rarely. --- diff --git a/src/Autopilot/xmlauto.cxx b/src/Autopilot/xmlauto.cxx index 9594d5f07..babcc4550 100644 --- a/src/Autopilot/xmlauto.cxx +++ b/src/Autopilot/xmlauto.cxx @@ -103,7 +103,7 @@ FGPIDController::FGPIDController( SGPropertyNode *node ): } else { prop = child->getChild( "value" ); if ( prop != NULL ) { - r_n = prop->getDoubleValue(); + r_n_value = prop->getDoubleValue(); } } prop = child->getChild( "scale" ); @@ -422,7 +422,7 @@ FGPISimpleController::FGPISimpleController( SGPropertyNode *node ): } else { prop = child->getChild( "value" ); if ( prop != NULL ) { - r_n = prop->getDoubleValue(); + r_n_value = prop->getDoubleValue(); } } prop = child->getChild( "scale" );