]> git.mxchange.org Git - flightgear.git/blobdiff - src/Instrumentation/heading_indicator_dg.cxx
Support for multiple data dirs.
[flightgear.git] / src / Instrumentation / heading_indicator_dg.cxx
index 8966c0f3de8292c084bd673f007c63d3f53f2a97..0c5fdf879c9217543f43cfd90ee6a61fc8611629 100644 (file)
@@ -184,7 +184,7 @@ HeadingIndicatorDG::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 );
     if ( bnode ) {
         double diff = bnode->getDoubleValue() - heading;