]> git.mxchange.org Git - flightgear.git/blobdiff - src/Instrumentation/heading_indicator_fg.cxx
httpd: better handling of first-time notifications
[flightgear.git] / src / Instrumentation / heading_indicator_fg.cxx
index fc7bff442bf03bd803f2a9e0aa6443e6deeae6af..32332a3e1a648a257cabee0e140e8eaef96909e3 100644 (file)
@@ -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 ){