// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
#include <simgear/misc/sg_path.hxx>
#include <simgear/debug/logstream.hxx>
start_time = 0;
leg = 10;
gateId = 0;
+ taxiRoute = 0;
SGPath path( globals->get_fg_root() );
path.append( ("/AI/FlightPlans/" + filename).c_str() );
SGPropertyNode root;
const string& acType,
const string& airline)
{
+ repeat = false;
leg = 10;
gateId=0;
+ taxiRoute = 0;
start_time = start;
bool useInitialWayPoint = true;
bool useCurrentWayPoint = false;
SGPath path( globals->get_fg_root() );
path.append( "/AI/FlightPlans" );
path.append( p );
+
SGPropertyNode root;
// This is a bit of a hack:
// delete *(waypoints.begin());
// waypoints.erase (waypoints.begin());
// }
+ if (taxiRoute)
+ delete taxiRoute;
}