]> git.mxchange.org Git - flightgear.git/commitdiff
I had to make a small mod to the runways.dat format, code changes to handle
authorcurt <curt>
Fri, 29 Aug 2003 20:27:48 +0000 (20:27 +0000)
committercurt <curt>
Fri, 29 Aug 2003 20:27:48 +0000 (20:27 +0000)
that.

src/Airports/runways.cxx

index ed958ea2e213d4bc18899aa7acdc898bb2e8e9b5..6450bcd78019642b1611be6ca360e169b87a2291 100644 (file)
@@ -54,9 +54,12 @@ operator >> ( istream& in, FGRunway& a )
         in >> a.id >> a.rwy_no >> a.lat >> a.lon >> a.heading
            >> a.length >> a.width >> a.surface_flags >> a.end1_flags
            >> tmp >> tmp >> a.end2_flags >> tmp >> tmp;
+    } else if ( a.type == "T" ) {
+        // in >> a.id >> a.rwy_no >> a.lat >> a.lon >> a.heading
+        //    >> a.length >> a.width >> a.surface_flags;
+        in >> skipeol;
     } else {
-        in >> a.id >> a.rwy_no >> a.lat >> a.lon >> a.heading
-           >> a.length >> a.width >> a.surface_flags;
+        in >> skipeol;
     }
 
     return in;