Ref T180, stop requesting data when aircraft is removed

This commit is contained in:
Klaus Basan
2017-11-09 19:58:53 +01:00
parent cd838b2cb6
commit 868ae7ec74
2 changed files with 13 additions and 1 deletions

View File

@@ -69,6 +69,9 @@ namespace BlackSimPlugin
//! Set current lights when received from simulator
void setCurrentLightsInSimulator(const BlackMisc::Aviation::CAircraftLights &lights) { m_currentLightsInSim = lights; }
//! Pretend to have received lights from simulator
void fakeCurrentLightsInSimulator() { m_currentLightsInSim.setNull(false); }
//! Parts as sent to simulator
const DataDefinitionRemoteAircraftPartsWithoutLights &getPartsAsSent() const { return m_partsAsSent; }