]> git.mxchange.org Git - flightgear.git/blobdiff - src/ATC/atis.cxx
Fix the nmea and garmin output to a) fake a GSA sentence, b) fix a y2k bug
[flightgear.git] / src / ATC / atis.cxx
index 6c09990b2440b3356343d64519f22e46636a6a8b..4c56b23a44234ca177e7bb5189c10fe89675907f 100644 (file)
@@ -261,7 +261,7 @@ void FGATIS::UpdateTransmission() {
        #endif
        
        string rwy_no = globals->get_runways()->search(ident, int(hdg));
-       if(rwy_no != (string)"NN") {
+       if(rwy_no != "NN") {
                transmission += " / Landing_and_departing_runway ";
                transmission += ConvertRwyNumToSpokenString(atoi(rwy_no.c_str()));
                //cout << "in atis.cxx, r.rwy_no = " << rwy_no << " r.id = " << r->id << " r.heading = " << r->heading << endl;