From 2319948b95bdcbd078f0a89f932b8e60f884cc3f Mon Sep 17 00:00:00 2001 From: Christian Schmitt Date: Wed, 20 Feb 2013 23:43:21 +0100 Subject: [PATCH] airport traffic routes from apt.dat 1000 are unknown to FG, so ignore them for now --- src/Airports/apt_loader.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Airports/apt_loader.cxx b/src/Airports/apt_loader.cxx index a3aa490d3..c23d491e7 100644 --- a/src/Airports/apt_loader.cxx +++ b/src/Airports/apt_loader.cxx @@ -179,11 +179,13 @@ public: pavement = false; } else if ( line_id == 130 ) { pavement = false; + } else if ( line_id >= 1000 ) { + // airport traffic flow (ignore) } else if ( line_id == 99 ) { SG_LOG( SG_GENERAL, SG_DEBUG, "End of file reached" ); } else { SG_LOG( SG_GENERAL, SG_ALERT, - "Unknown line(#" << line_num << ") in file: " << line ); + "Unknown line(#" << line_num << ") in apt.dat file: " << line ); exit( -1 ); } } -- 2.39.5