X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FInstrumentation%2Fheading_indicator_fg.cxx;h=32332a3e1a648a257cabee0e140e8eaef96909e3;hb=9d995907db00728da7eac9297ecbab93ed8a7400;hp=fc7bff442bf03bd803f2a9e0aa6443e6deeae6af;hpb=505796e349db709c7fbcebf069bf5ddea4fa79bf;p=flightgear.git diff --git a/src/Instrumentation/heading_indicator_fg.cxx b/src/Instrumentation/heading_indicator_fg.cxx index fc7bff442..32332a3e1 100644 --- a/src/Instrumentation/heading_indicator_fg.cxx +++ b/src/Instrumentation/heading_indicator_fg.cxx @@ -160,7 +160,7 @@ HeadingIndicatorFG::update (double dt) // calculate the difference between the indicated heading // and the selected heading for use with an autopilot - static SGPropertyNode *bnode + SGPropertyNode *bnode = fgGetNode( "/autopilot/settings/heading-bug-deg", false ); double diff = 0; if ( bnode ){