]> git.mxchange.org Git - flightgear.git/blobdiff - src/ATC/ATCDialog.cxx
Make sure the ATIS reports surface winds at airports above sea-level
[flightgear.git] / src / ATC / ATCDialog.cxx
index efcde15eb9cee1d60a69c5945afdab431bdf6f01..0c96b36cefef1f8114ba26aa53472b72a4b229b7 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._longitude, a._latitude, a._elevation, 20.0, &stations);
                if(found) {
                        ostringstream ostr;
                        comm_list_iterator itr = stations.begin();