]> git.mxchange.org Git - flightgear.git/blobdiff - src/ATC/ATCDialog.cxx
Mathias Fröhlich:
[flightgear.git] / src / ATC / ATCDialog.cxx
index 0c96b36cefef1f8114ba26aa53472b72a4b229b7..42d8bf7be7f5b873d618145900c0569d2afaad84 100644 (file)
@@ -460,7 +460,7 @@ void FGATCDialog::FreqDisplay(string ident) {
     FGAirport a;
     if ( dclFindAirportID( ident, &a ) ) {
                comm_list_type stations;
-               int found = current_commlist->FindByPos(a._longitude, a._latitude, a._elevation, 20.0, &stations);
+               int found = current_commlist->FindByPos(a.getLongitude(), a.getLatitude(), a.getElevation(), 20.0, &stations);
                if(found) {
                        ostringstream ostr;
                        comm_list_iterator itr = stations.begin();