diff --git a/src/blackcore/simulatorcommon.cpp b/src/blackcore/simulatorcommon.cpp index 6b70be022..fc36e113b 100644 --- a/src/blackcore/simulatorcommon.cpp +++ b/src/blackcore/simulatorcommon.cpp @@ -126,14 +126,14 @@ namespace BlackCore // get the current state for this aircraft // it might has been removed in the meantime const CCallsign cs(aircraft.getCallsign()); - resetAircraftFromBacked(cs); + resetAircraftFromProvider(cs); } m_highlightedAircraft.clear(); m_highlightEndTimeMsEpoch = 0; } } - void CSimulatorCommon::resetAircraftFromBacked(const CCallsign &callsign) + void CSimulatorCommon::resetAircraftFromProvider(const CCallsign &callsign) { CSimulatedAircraft aircraft(this->getAircraftInRangeForCallsign(callsign)); bool enabled = aircraft.isEnabled(); diff --git a/src/blackcore/simulatorcommon.h b/src/blackcore/simulatorcommon.h index b39786ada..bf9ec976c 100644 --- a/src/blackcore/simulatorcommon.h +++ b/src/blackcore/simulatorcommon.h @@ -119,8 +119,8 @@ namespace BlackCore //! Blink the highlighted aircraft void blinkHighlightedAircraft(); - //! Restore aircraft from backend data - void resetAircraftFromBacked(const BlackMisc::Aviation::CCallsign &callsign); + //! Restore aircraft from the provider data + void resetAircraftFromProvider(const BlackMisc::Aviation::CCallsign &callsign); //! Override situation from current interpolator values, if any! bool setInitialAircraftSituation(BlackMisc::Simulation::CSimulatedAircraft &aircraft) const;