From 4c1890dbd2ad41bc2b8fad7b9650f69e31aeedc8 Mon Sep 17 00:00:00 2001 From: Klaus Basan Date: Mon, 31 Oct 2016 16:33:34 +0100 Subject: [PATCH] refs #793, renamed function in simulator common --- src/blackcore/simulatorcommon.cpp | 4 ++-- src/blackcore/simulatorcommon.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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;