currentDestination = flight->getArrivalAirport()->getId();
if (!initialized) {
string departurePort = flight->getDepartureAirport()->getId();
+ //cerr << "Scheduled " << registration << " " << score << " for Flight "
+ // << flight-> getCallSign() << " from " << departurePort << " to " << currentDestination << endl;
if (fgGetString("/sim/presets/airport-id") == departurePort) {
hits++;
}
- runCount++;
+ //runCount++;
initialized = true;
}
score = 0.0;
}
}
+ runCount++;
}
bool compareSchedules(FGAISchedule*a, FGAISchedule*b)