更新 'src/Traffic/SchedFlight.cxx'

next
zhongjin 2 years ago
parent ed88ca3330
commit 638666cc62

@ -290,13 +290,15 @@ bool FGScheduledFlight::initializeAirports()
departurePort = FGAirport::findByIdent(depId);
if(departurePort == NULL)
{
SG_LOG( SG_AI, SG_DEBUG, "Traffic manager could not find departure airport : " << depId);
//zhongjin
//SG_LOG( SG_AI, SG_DEBUG, "Traffic manager could not find departure airport : " << depId);
return false;
}
arrivalPort = FGAirport::findByIdent(arrId);
if(arrivalPort == NULL)
{
SG_LOG( SG_AI, SG_DEBUG, "Traffic manager could not find arrival airport : " << arrId);
//zhongjin
//SG_LOG( SG_AI, SG_DEBUG, "Traffic manager could not find arrival airport : " << arrId);
return false;
}

Loading…
Cancel
Save