]> git.mxchange.org Git - flightgear.git/blobdiff - src/Navaids/navdb.cxx
Prepare and implement reinit methods for instruments
[flightgear.git] / src / Navaids / navdb.cxx
index b1a813d6173f61a4d9ddc1aaa901c9bd5eec24b7..385e1db22510cc2e29ede392965fe15ed3e8dae3 100644 (file)
@@ -47,6 +47,7 @@
 #include <Main/fg_props.hxx>
 
 using std::string;
+using std::vector;
 
 typedef std::map<FGAirport*, SGPropertyNode_ptr> AirportPropertyMap;
 
@@ -240,10 +241,6 @@ bool fgNavDBInit( FGNavList *navlist, FGNavList *loclist, FGNavList *gslist,
 
 SGPropertyNode* ilsDataForRunwayAndNavaid(FGRunway* aRunway, const std::string& aNavIdent)
 {
-  if (!fgGetBool("/sim/paths/use-custom-scenery-data")) {
-    return NULL; 
-  }
-  
   if (!aRunway) {
     return NULL;
   }