mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 06:35:52 +08:00
Ref T423, changed strategy to force position updates
* force update for "some time", and remove all sent information * no longer update some cycles, but for some time * updated FSX/P3D/XPlane drivers
This commit is contained in:
@@ -1741,7 +1741,7 @@ namespace BlackSimPlugin
|
||||
|
||||
int simObjectNumber = 0;
|
||||
const bool traceSendId = this->isTracingSendId();
|
||||
const bool updateAllAircraft = m_updateAllRemoteAircraftCycles > 0;
|
||||
const bool updateAllAircraft = this->isUpdateAllRemoteAircraft(currentTimestamp);
|
||||
for (const CSimConnectObject &simObject : simObjects)
|
||||
{
|
||||
// happening if aircraft is not yet added to simulator or to be deleted
|
||||
|
||||
@@ -795,7 +795,7 @@ namespace BlackSimPlugin
|
||||
PlanesTransponders planesTransponders;
|
||||
|
||||
int aircraftNumber = 0;
|
||||
const bool updateAllAircraft = m_updateAllRemoteAircraftCycles > 0;
|
||||
const bool updateAllAircraft = this->isUpdateAllRemoteAircraft(currentTimestamp);
|
||||
for (const CXPlaneMPAircraft &xplaneAircraft : xplaneAircraftList)
|
||||
{
|
||||
const CCallsign callsign(xplaneAircraft.getCallsign());
|
||||
|
||||
Reference in New Issue
Block a user