1
0
Fork 0

apt_loader.cxx: 810 helipads are now treated as such internally

This commit is contained in:
Christian Schmitt 2013-02-24 22:18:49 +01:00
parent 6ffdb1bc54
commit 3a1709b31a

View file

@ -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];