X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FSystems%2Fsystem_mgr.cxx;h=0ca9efb7a1b0eca305ab0b23372ddb56762231d9;hb=4c7fb6c91bbf17119407748d4d49d627748ad037;hp=4936ea63818fec9a43fe5ceaac56d9fb75ff18ed;hpb=edd83dd7e8fd7162ae49da6113ad797c68769f20;p=flightgear.git diff --git a/src/Systems/system_mgr.cxx b/src/Systems/system_mgr.cxx index 4936ea638..0ca9efb7a 100644 --- a/src/Systems/system_mgr.cxx +++ b/src/Systems/system_mgr.cxx @@ -34,8 +34,7 @@ FGSystemMgr::FGSystemMgr () SGPropertyNode *path_n = fgGetNode("/sim/systems/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 systems from " << config.str() );