mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-19 03:45:30 +08:00
Remove unused code
This commit is contained in:
committed by
Klaus Basan
parent
dab41045d3
commit
d743ec98fa
@@ -691,11 +691,7 @@ namespace BlackSimPlugin
|
|||||||
Q_ASSERT_X(CThreadUtils::isCurrentThreadObjectThread(this), Q_FUNC_INFO, "thread");
|
Q_ASSERT_X(CThreadUtils::isCurrentThreadObjectThread(this), Q_FUNC_INFO, "thread");
|
||||||
|
|
||||||
const int remoteAircraftNo = this->getAircraftInRangeCount();
|
const int remoteAircraftNo = this->getAircraftInRangeCount();
|
||||||
if (remoteAircraftNo < 1) { m_interpolationRequest = 0; return; }
|
if (remoteAircraftNo < 1) { return; }
|
||||||
|
|
||||||
// interpolate and send to simulator
|
|
||||||
m_interpolationRequest++;
|
|
||||||
const CCallsignSet aircraftWithParts = this->remoteAircraftSupportingParts(); // optimization, fetch all parts supporting aircraft in one step (one lock)
|
|
||||||
|
|
||||||
// values used for position and parts
|
// values used for position and parts
|
||||||
const qint64 currentTimestamp = QDateTime::currentMSecsSinceEpoch();
|
const qint64 currentTimestamp = QDateTime::currentMSecsSinceEpoch();
|
||||||
|
|||||||
@@ -205,7 +205,6 @@ namespace BlackSimPlugin
|
|||||||
// Driver Interpolation
|
// Driver Interpolation
|
||||||
BlackMisc::Simulation::CSimulatedAircraftList m_pendingAddedAircrafts;
|
BlackMisc::Simulation::CSimulatedAircraftList m_pendingAddedAircrafts;
|
||||||
CXPlaneMPAircraftObjects m_xplaneAircraftObjects; //!< XPlane multiplayer aircraft
|
CXPlaneMPAircraftObjects m_xplaneAircraftObjects; //!< XPlane multiplayer aircraft
|
||||||
int m_interpolationRequest = 0; //!< current interpolation request
|
|
||||||
QTimer m_pendingAddedTimer;
|
QTimer m_pendingAddedTimer;
|
||||||
|
|
||||||
XPlaneData m_xplaneData;
|
XPlaneData m_xplaneData;
|
||||||
|
|||||||
Reference in New Issue
Block a user