From: Christian Schmitt Date: Sun, 24 Feb 2013 21:18:49 +0000 (+0100) Subject: apt_loader.cxx: 810 helipads are now treated as such internally X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3a1709b31adddebe3e3634f22cf2dc461f7f9bbd;p=flightgear.git apt_loader.cxx: 810 helipads are now treated as such internally --- diff --git a/src/Airports/apt_loader.cxx b/src/Airports/apt_loader.cxx index f03a253fa..fc4b0b1ed 100644 --- a/src/Airports/apt_loader.cxx +++ b/src/Airports/apt_loader.cxx @@ -292,10 +292,13 @@ private: int surface_code = atoi( token[10].c_str() ); SGGeod pos(SGGeod::fromDegFt(lon, lat, last_apt_elev)); - - if (rwy_no[0] == 'x') { - cache->insertRunway(FGPositioned::TAXIWAY,rwy_no, pos, currentAirportID, - heading, length, width, 0, 0, surface_code); + + if (rwy_no[0] == 'x') { // Taxiway + cache->insertRunway(FGPositioned::TAXIWAY, rwy_no, pos, currentAirportID, + heading, length, width, 0.0, 0.0, surface_code); + } else if (rwy_no[0] == 'H') { // Helipad + cache->insertRunway(FGPositioned::HELIPAD, rwy_no, pos, currentAirportID, + heading, length, width, 0.0, 0.0, surface_code); } else { // (pair of) runways string rwy_displ_threshold = token[6];