X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FTraffic%2FSchedule.cxx;h=3b8e7636db1946dca5d873df945a2236272323ff;hb=474789269b7656509f62339c17e62a55b6157d43;hp=e86cbcf243097940914a04d92e44afaa06a15377;hpb=d8165470c3504ae4f1113ee754568be951f3416f;p=flightgear.git diff --git a/src/Traffic/Schedule.cxx b/src/Traffic/Schedule.cxx index e86cbcf24..3b8e7636d 100644 --- a/src/Traffic/Schedule.cxx +++ b/src/Traffic/Schedule.cxx @@ -364,10 +364,12 @@ void FGAISchedule::scheduleFlights() 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; } @@ -508,6 +510,7 @@ void FGAISchedule::setScore () score = 0.0; } } + runCount++; } bool compareSchedules(FGAISchedule*a, FGAISchedule*b)