From 50c7a31de815b7b9fef1580af8460148e638581e Mon Sep 17 00:00:00 2001 From: curt Date: Tue, 26 Jun 2007 21:29:59 +0000 Subject: [PATCH] Fix a long standing bug in a code path that is probably executed very rarely. --- src/Autopilot/xmlauto.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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" );