X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FAIModel%2FAIFlightPlanCreatePushBack.cxx;h=3b9ade3747ffcbac4f2e06e9598909f86a3bfe51;hb=8be4e97f54121260feb292e1fcbe3d072d28c941;hp=a2deb0a3c2e22292f00d496003d27c1d4553f611;hpb=17c42deae16610939d598a0dabe28d2d4d362469;p=flightgear.git diff --git a/src/AIModel/AIFlightPlanCreatePushBack.cxx b/src/AIModel/AIFlightPlanCreatePushBack.cxx index a2deb0a3c..3b9ade374 100644 --- a/src/AIModel/AIFlightPlanCreatePushBack.cxx +++ b/src/AIModel/AIFlightPlanCreatePushBack.cxx @@ -17,9 +17,15 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * **************************************************************************/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #include "AIFlightPlan.hxx" #include #include +#include #include #include @@ -140,6 +146,9 @@ void FGAIFlightPlan::createPushBack(bool firstFlight, FGAirport *dep, // some special considerations for the last point: wpt->name = string("PushBackPoint"); wpt->speed = 15; + //for (wpt_vector_iterator i = waypoints.begin(); i != waypoints.end(); i++) { + // cerr << "Waypoint Name: " << (*i)->name << endl; + //} } else { //cerr << "Creating direct forward departure route fragment" << endl; double lat2, lon2, az2;