1
0
Fork 0

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:
david 2003-05-13 14:15:30 +00:00
parent d03087c3df
commit d403c2e568

View file

@ -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(),