更新 'src/Traffic/SchedFlight.cxx'

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

View File

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