Ref T717, simulator adjustments to support "TEST AIRCRAFT"

This commit is contained in:
Klaus Basan
2019-09-10 23:59:39 +02:00
parent 583594731b
commit 53b0b6d4fb
3 changed files with 16 additions and 1 deletions

View File

@@ -1019,6 +1019,11 @@ namespace BlackCore
m_remoteAircraftProviderConnections.disconnectAll(); // disconnect signals from provider
}
bool ISimulator::isAircraftInRangeOrTestMode(const CCallsign &callsign) const
{
return this->isTestMode() || this->isAircraftInRange(callsign);
}
bool ISimulator::disconnectFrom()
{
// supposed to be overridden