diff --git a/src/Navaids/navdb.cxx b/src/Navaids/navdb.cxx index e6979ee96..2434171e3 100644 --- a/src/Navaids/navdb.cxx +++ b/src/Navaids/navdb.cxx @@ -66,7 +66,7 @@ static FGNavRecord* createNavFromStream(std::istream& aStream) { int rawType; aStream >> rawType; - if (aStream.eof()) { + if (aStream.eof() || (rawType == 99)) { return NULL; // happens with, eg, carrier_nav.dat }