1
0
Fork 0

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:
mfranz 2007-10-11 13:51:11 +00:00
parent 4022edc5ba
commit 97d3b07a1f

View file

@ -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 << " "