]> git.mxchange.org Git - flightgear.git/blobdiff - src/Instrumentation/dclgps.cxx
Allow all approaches to be selected at airports with more than 3 approaches
[flightgear.git] / src / Instrumentation / dclgps.cxx
index 4a2ccabf389538aa9978682901af36cda7a51717..6feb0a286b92394a6c7739560a30150ca22bc2d2 100644 (file)
@@ -254,7 +254,6 @@ void DCLGPS::init() {
        iap->_rwyStr = "12";
        iap->_approachRoutes.clear();
        iap->_IAP.clear();
-       iap->_MAP.clear();
        // -------
        wp = new GPSWaypoint;
        wp->id = "GOBBS";
@@ -324,7 +323,7 @@ void DCLGPS::init() {
        if(cwp) {
                *wp = *cwp;
                wp->appType = GPS_MAHP;
-               iap->_MAP.push_back(wp);
+               iap->_IAP.push_back(wp);
        } else {
                //cout << "Unable to find waypoint " << wp->id << '\n';
        }