更新 'src/ATC/ATCController.cxx'

This commit is contained in:
zhongjin 2022-12-12 17:01:13 +08:00
parent 86fecabbd9
commit c5f5227328

View File

@ -320,6 +320,9 @@ void FGATCController::transmit(FGTrafficRecord * rec, FGAirportDynamics *parent,
break;
}
SG_LOG(SG_ATC,SG_INFO,"MESSAGE: " << text );
const bool atcAudioEnabled = fgGetBool("/sim/sound/atc/enabled", false);
if (audible && atcAudioEnabled) {
double onBoardRadioFreq0 =