]> git.mxchange.org Git - flightgear.git/blobdiff - src/ATCDCL/atis.cxx
Use the 'all but self' capability of the scenery elevaton code instead of
[flightgear.git] / src / ATCDCL / atis.cxx
index 4f9d93de4047be78d906c1a5f86b64645ac598bd..d3be4ea23bfbe8fb9b42aa937fa2eec05ffe4b3a 100644 (file)
@@ -212,7 +212,7 @@ void FGATIS::UpdateTransmission() {
        
   const FGAirport* apt = fgFindAirportID(ident);
   assert(apt);
-       string rwy_no = apt->getActiveRunwayForUsage()._rwy_no;
+       string rwy_no = apt->getActiveRunwayForUsage()->ident();
   if(rwy_no != "NN") {
                transmission += " / Landing_and_departing_runway ";
                transmission += ConvertRwyNumToSpokenString(atoi(rwy_no.c_str()));