increase range of searched and displayed frequencies 40 -> 50 nm
This commit is contained in:
parent
6dd5f0f6d5
commit
a0789e1c35
1 changed files with 2 additions and 2 deletions
|
@ -314,7 +314,7 @@ void FGATCDialog::FreqDialog() {
|
||||||
// remove all dynamic airport/ATC buttons
|
// remove all dynamic airport/ATC buttons
|
||||||
button_group->removeChildren("button", false);
|
button_group->removeChildren("button", false);
|
||||||
|
|
||||||
// Find the ATC stations within a reasonable range (about 40 miles?)
|
// Find the ATC stations within a reasonable range
|
||||||
comm_list_type atc_stations;
|
comm_list_type atc_stations;
|
||||||
comm_list_iterator atc_stat_itr;
|
comm_list_iterator atc_stat_itr;
|
||||||
|
|
||||||
|
@ -325,7 +325,7 @@ void FGATCDialog::FreqDialog() {
|
||||||
lat * SGD_DEGREES_TO_RADIANS, elev));
|
lat * SGD_DEGREES_TO_RADIANS, elev));
|
||||||
|
|
||||||
// search stations in range
|
// search stations in range
|
||||||
int num_stat = current_commlist->FindByPos(lon, lat, elev, 40.0, &atc_stations);
|
int num_stat = current_commlist->FindByPos(lon, lat, elev, 50.0, &atc_stations);
|
||||||
if (num_stat != 0) {
|
if (num_stat != 0) {
|
||||||
map<atcdata, bool> uniq;
|
map<atcdata, bool> uniq;
|
||||||
// fill map (sorts by distance and removes duplicates)
|
// fill map (sorts by distance and removes duplicates)
|
||||||
|
|
Loading…
Add table
Reference in a new issue