The lookup method was always skipping the first ILS for any frequency
-- I discovered the problem while puzzling over an LOC that wouldn't come in.
This commit is contained in:
parent
d03087c3df
commit
d403c2e568
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ FGILS *FGILSList::findByFreq( double freq,
|
|||
Point3D aircraft = sgGeodToCart( Point3D(lon, lat, elev) );
|
||||
Point3D station;
|
||||
double d2;
|
||||
for ( unsigned int i = 1; i < stations.size(); ++i ) {
|
||||
for ( unsigned int i = 0; i < stations.size(); ++i ) {
|
||||
// cout << " testing " << current->get_locident() << endl;
|
||||
station = Point3D(stations[i]->get_x(),
|
||||
stations[i]->get_y(),
|
||||
|
|
Loading…
Add table
Reference in a new issue