prevent endless loop. The new awy.dat.gz has entries like line 2632 ...
AMIBO 34.973889 021.658056 ARLOS 34.625278 023.000000 1 095 195 M871-MT E-MT W-N4 ... where unexpected ids follow (here E-MT W-N4). The loader didn't skipeol. The additional values are for a first quick&dirty fix just dropped.
This commit is contained in:
parent
4022edc5ba
commit
97d3b07a1f
1 changed files with 1 additions and 0 deletions
|
@ -227,6 +227,7 @@ void FGAirwayNetwork::load(SGPath path)
|
|||
// Read each line from the database
|
||||
identStart = token;
|
||||
in >> latStart >> lonStart >> identEnd >> latEnd >> lonEnd >> type >> base >> top >> name;
|
||||
in >> skipeol;
|
||||
/*out << identStart << " "
|
||||
<< latStart << " "
|
||||
<< lonStart << " "
|
||||
|
|
Loading…
Add table
Reference in a new issue