Ref T717, simulator "is test" conditions where required

This commit is contained in:
Klaus Basan
2019-09-14 23:43:53 +02:00
committed by Mat Sutcliffe
parent a3959ffbea
commit 6151f434c6
3 changed files with 3 additions and 2 deletions

View File

@@ -480,7 +480,7 @@ namespace BlackSimPlugin
// crosscheck if still a valid aircraft
// it can happen that aircraft has been removed, timed out ...
if (!this->isAircraftInRange(newRemoteAircraft.getCallsign()))
if (!this->isAircraftInRangeOrTestMode(newRemoteAircraft.getCallsign()))
{
// next cycle will be called by callbacks or timer
CLogMessage(this).warning(u"Aircraft '%1' no longer in range, will not add") << newRemoteAircraft.getCallsign();