mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 21:56:43 +08:00
@@ -493,11 +493,11 @@ namespace BlackMisc::Simulation::Settings
|
||||
const CFrequency f(msg.getFrequency());
|
||||
if (mt.testFlag(TextMessagesCom1))
|
||||
{
|
||||
if (aircraft.getCom1System().isActiveFrequencyWithin8_33kHzChannel(f)) { return true; }
|
||||
if (aircraft.getCom1System().isActiveFrequencySameFrequency(f)) { return true; }
|
||||
}
|
||||
if (mt.testFlag(TextMessagesCom2))
|
||||
{
|
||||
if (aircraft.getCom2System().isActiveFrequencyWithin8_33kHzChannel(f)) { return true; }
|
||||
if (aircraft.getCom2System().isActiveFrequencySameFrequency(f)) { return true; }
|
||||
}
|
||||
}
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user