From: curt Date: Thu, 13 Aug 2009 17:01:36 +0000 (+0000) Subject: Fix a bug that is screwing me! X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0590333e5336af4f03ffd40ca679bbc4e8b1dde4;p=flightgear.git Fix a bug that is screwing me! --- diff --git a/src/Network/ATC-Outputs.cxx b/src/Network/ATC-Outputs.cxx index b5078a581..c9099cb9c 100644 --- a/src/Network/ATC-Outputs.cxx +++ b/src/Network/ATC-Outputs.cxx @@ -464,22 +464,18 @@ bool FGATCOutput::do_analog_out() { } prop = child->getChild( "value-lo" ); if ( prop != NULL ) { - prop = fgGetNode( prop->getStringValue(), true ); x0 = prop->getDoubleValue(); } prop = child->getChild( "meter-lo" ); if ( prop != NULL ) { - prop = fgGetNode( prop->getStringValue(), true ); y0 = prop->getDoubleValue(); } prop = child->getChild( "value-hi" ); if ( prop != NULL ) { - prop = fgGetNode( prop->getStringValue(), true ); x1 = prop->getDoubleValue(); } prop = child->getChild( "meter-hi" ); if ( prop != NULL ) { - prop = fgGetNode( prop->getStringValue(), true ); y1 = prop->getDoubleValue(); } // crunch linear interpolation formula