更新 'src/Traffic/SchedFlight.cxx'
This commit is contained in:
parent
ed88ca3330
commit
638666cc62
@ -290,13 +290,15 @@ bool FGScheduledFlight::initializeAirports()
|
|||||||
departurePort = FGAirport::findByIdent(depId);
|
departurePort = FGAirport::findByIdent(depId);
|
||||||
if(departurePort == NULL)
|
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;
|
return false;
|
||||||
}
|
}
|
||||||
arrivalPort = FGAirport::findByIdent(arrId);
|
arrivalPort = FGAirport::findByIdent(arrId);
|
||||||
if(arrivalPort == NULL)
|
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;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user