From 1cbcd89e5eee80af152843bbf6353fa98a5725fd Mon Sep 17 00:00:00 2001 From: curt Date: Fri, 29 Aug 2003 20:27:48 +0000 Subject: [PATCH] I had to make a small mod to the runways.dat format, code changes to handle that. --- src/Airports/runways.cxx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/Airports/runways.cxx b/src/Airports/runways.cxx index ed958ea2e..6450bcd78 100644 --- a/src/Airports/runways.cxx +++ b/src/Airports/runways.cxx @@ -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; -- 2.39.5