[AFV] Ref T739, check if COM integration is used and make sure to use TX/RX defaults if NOT

There was a bug that COM integration was used although it was disabled
This commit is contained in:
Klaus Basan
2019-10-16 17:33:38 +02:00
parent 725a798cba
commit f980fd02d5
4 changed files with 31 additions and 12 deletions

View File

@@ -298,7 +298,7 @@ namespace BlackCore
return changed;
}
bool CContextOwnAircraft::updateCockpit(const BlackMisc::Aviation::CComSystem &com1, const BlackMisc::Aviation::CComSystem &com2, const CTransponder &transponder, const CIdentifier &originator)
bool CContextOwnAircraft::updateCockpit(const CComSystem &com1, const CComSystem &com2, const CTransponder &transponder, const CIdentifier &originator)
{
if (m_debugEnabled) { CLogMessage(this, CLogCategory::contextSlot()).debug() << Q_FUNC_INFO << com1 << com2 << transponder; }
bool changed;