]> git.mxchange.org Git - flightgear.git/commitdiff
airport traffic routes from apt.dat 1000 are unknown to FG, so ignore them for now
authorChristian Schmitt <chris@ilovelinux.de>
Wed, 20 Feb 2013 22:43:21 +0000 (23:43 +0100)
committerChristian Schmitt <chris@ilovelinux.de>
Wed, 20 Feb 2013 22:49:48 +0000 (23:49 +0100)
src/Airports/apt_loader.cxx

index a3aa490d3c4815485a68aff6e09f6d21f72c91bf..c23d491e7bade36fd6272673c476f31b7b5b4791 100644 (file)
@@ -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 );
       }
     }