mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 00:16:51 +08:00
Ref T669, also interpolation Ref T668, remove last sent values if aircraft is removed
This commit is contained in:
committed by
Mat Sutcliffe
parent
f1ff410e64
commit
a86e98ca3a
@@ -641,7 +641,7 @@ namespace BlackSimPlugin
|
||||
|
||||
bool CSimulatorXPlane::physicallyRemoveRemoteAircraft(const CCallsign &callsign)
|
||||
{
|
||||
Q_ASSERT(isConnected());
|
||||
Q_ASSERT(this->isConnected());
|
||||
|
||||
// only remove from sim
|
||||
Q_ASSERT_X(CThreadUtils::isCurrentThreadObjectThread(this), Q_FUNC_INFO, "wrong thread");
|
||||
@@ -692,7 +692,7 @@ namespace BlackSimPlugin
|
||||
m_pendingToBeAddedAircraft.removeByCallsign(callsign);
|
||||
|
||||
// bye
|
||||
return true;
|
||||
return CSimulatorPluginCommon::physicallyRemoveRemoteAircraft(callsign);
|
||||
}
|
||||
|
||||
int CSimulatorXPlane::physicallyRemoveAllRemoteAircraft()
|
||||
|
||||
Reference in New Issue
Block a user