更新 'utils/fgcom/fgcom_external.cxx'

This commit is contained in:
zhongjin 2023-10-27 23:16:33 +08:00
parent b00a57116f
commit b99cf00456

View File

@ -373,6 +373,9 @@ std::string getClosestAirportForFreq(double freq, double acftLat, double acftLon
bool isInRange(std::string icao, double acftLat, double acftLon, double acftAlt)
{
// zhongjin 测试环境始终返回1
return true;
for(size_t i=0; i<sizeof(special_freq)/sizeof(special_freq[0]); i++) { // Check if it's a special freq
if( special_freq[i] == _currentFreqKhz )
return true;