]> git.mxchange.org Git - flightgear.git/blobdiff - src/Instrumentation/instrument_mgr.cxx
Merge branch 'next' of D:\Git_New\flightgear into next
[flightgear.git] / src / Instrumentation / instrument_mgr.cxx
index 6bfecbb270968d540253735f1fd426cddf07c9ca..27f5e39485624dffd3caa9860ed9db301112242d 100644 (file)
@@ -62,9 +62,8 @@ FGInstrumentMgr::FGInstrumentMgr () :
     SGPropertyNode *path_n = fgGetNode("/sim/instrumentation/path");
 
     if (path_n) {
-        SGPath config( globals->get_fg_root() );
-        config.append( path_n->getStringValue() );
-
+        SGPath config = globals->resolve_aircraft_path(path_n->getStringValue());
+        
         SG_LOG( SG_ALL, SG_INFO, "Reading instruments from "
                 << config.str() );
         try {