更新 'src/Traffic/SchedFlight.cxx'

This commit is contained in:
zhongjin 2022-12-12 21:21:25 +08:00
parent ed88ca3330
commit 638666cc62

View File

@ -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;
}