refs #398, removed fix after RW has fixed it in vatlib

This commit is contained in:
Klaus Basan
2015-04-01 15:13:49 +02:00
parent 96434928fe
commit 6634260970

View File

@@ -749,7 +749,6 @@ namespace BlackCore
void CNetworkVatlib::onAtcPositionUpdate(VatSessionID, const char *callsign, const VatAtcPosition *pos, void *cbvar)
{
int frequencyKHz = pos->frequency;
if (frequencyKHz < 100000) { frequencyKHz += 100000; }
CFrequency freq(frequencyKHz, CFrequencyUnit::kHz());
freq.switchUnit(CFrequencyUnit::MHz()); // we would not need to bother, but this makes it easier to identify
Q_ASSERT(CComSystem::isValidCivilAviationFrequency(freq));