X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FAirports%2Fxmlloader.cxx;h=9487144c99817ed42361776b9d4c495d19c368c7;hb=386aefe69358ce41a11c9afeb8f56e26758fe56b;hp=7579e8cc4c4d404d9a0fb10e7b387e38935e10e5;hpb=a6db6d89ff41a619569e6433409e8bf62ff98499;p=flightgear.git diff --git a/src/Airports/xmlloader.cxx b/src/Airports/xmlloader.cxx index 7579e8cc4..9487144c9 100644 --- a/src/Airports/xmlloader.cxx +++ b/src/Airports/xmlloader.cxx @@ -34,7 +34,7 @@ XMLLoader::~XMLLoader() {} void XMLLoader::load(FGAirportDynamics* d) { FGAirportDynamicsXMLLoader visitor(d); - if (fgGetBool("/sim/traffic-manager/use-custom-scenery-data") == false) { + if (fgGetBool("/sim/paths/use-custom-scenery-data") == false) { SGPath parkpath( globals->get_fg_root() ); parkpath.append( "/AI/Airports/" ); parkpath.append( d->getId() ); @@ -57,7 +57,7 @@ void XMLLoader::load(FGAirportDynamics* d) { void XMLLoader::load(FGRunwayPreference* p) { FGRunwayPreferenceXMLLoader visitor(p); - if (fgGetBool("/sim/traffic-manager/use-custom-scenery-data") == false) { + if (fgGetBool("/sim/paths/use-custom-scenery-data") == false) { SGPath rwyPrefPath( globals->get_fg_root() ); rwyPrefPath.append( "AI/Airports/" ); rwyPrefPath.append( p->getId() );