]> git.mxchange.org Git - flightgear.git/blobdiff - src/AIModel/AIFlightPlanCreateCruise.cxx
warnings--
[flightgear.git] / src / AIModel / AIFlightPlanCreateCruise.cxx
index 03bfce80f600c0256c247a38753e9d58a8516033..c60e40bb207d3bddb370100b37a9b1ae53b94b38 100755 (executable)
@@ -119,7 +119,7 @@ void FGAIFlightPlan::evaluateRoutePart(double deplat,
                        FGAirRoute routePart = globals->get_airwaynet()->findShortestRoute(*i, *j);
                        if (!(routePart.empty()))
                        {
-                               route.add(routePart);
+                               airRoute.add(routePart);
                                i = j;
                                break;
                        }