]> git.mxchange.org Git - flightgear.git/blobdiff - src/Navaids/fixlist.cxx
bind the sky disable cutoff distance to a property
[flightgear.git] / src / Navaids / fixlist.cxx
index f9fc37a5d3a2436ed24d9c03d1f4a4bb9e146299..50c06ac563c804bb99eda19862fc2921386b20ac 100644 (file)
@@ -39,6 +39,7 @@
 FGFix::FGFix(const std::string& aIdent, const SGGeod& aPos) :
   FGPositioned(FIX, aIdent, aPos)
 {
+  init(true); // init FGPositioned
 }
 
 // Constructor
@@ -66,7 +67,7 @@ bool FGFixList::init(const SGPath& path ) {
     // read in each remaining line of the file
     while ( ! in.eof() ) {
       double lat, lon;
-      string ident;
+      std::string ident;
       in >> lat >> lon >> ident;
       if (lat > 95) break;