+ if (prev->contains("legend")) {
+ fp->incrementLeg();
+ }
+ if (prev->contains(string("DepartureHold"))) {
+ //cerr << "Passing point DepartureHold" << endl;
+ scheduleForATCTowerDepartureControl(1);
+ }
+ if (prev->contains(string("Accel"))) {
+ takeOffStatus = 3;
+ }
+ //if (prev->contains(string("landing"))) {
+ // if (speed < _performance->vTaxi() * 2) {
+ // fp->shortenToFirst(2, "legend");
+ // }
+ //}
+ //if (prev->contains(string("final"))) {
+ //
+ // cerr << getCallSign() << " "
+ // << fp->getPreviousWaypoint()->getName()
+ // << ". Alt = " << altitude_ft
+ // << " vs " << vs
+ // << " horizontal speed " << speed
+ // << "Previous crossAT " << fp->getPreviousWaypoint()->getCrossat()
+ // << "Airport elevation" << getTrafficRef()->getArrivalAirport()->getElevation()
+ // << "Altitude difference " << (altitude_ft - fp->getPreviousWaypoint()->getCrossat()) << endl;
+ //q}