Ref T669, also interpolation Ref T668, remove last sent values if aircraft is removed

This commit is contained in:
Klaus Basan
2019-05-23 02:20:02 +02:00
committed by Mat Sutcliffe
parent f1ff410e64
commit a86e98ca3a
6 changed files with 16 additions and 10 deletions

View File

@@ -316,6 +316,7 @@ namespace BlackSimPlugin
m_interpolators.remove(callsign);
const int c = m_renderedAircraft.removeByCallsign(callsign);
this->updateAircraftRendered(callsign, false); // in provider
CSimulatorPluginCommon::physicallyRemoveRemoteAircraft(callsign);
return c > 0;
}