apt_loader.cxx: 810 helipads are now treated as such internally
This commit is contained in:
parent
6ffdb1bc54
commit
3a1709b31a
1 changed files with 7 additions and 4 deletions
|
@ -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];
|
||||
|
|
Loading…
Add table
Reference in a new issue