mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-07 11:05:33 +08:00
refactor: Change variable type of aircraftNumber
The aircraft number should always be positive
This commit is contained in:
@@ -1930,7 +1930,7 @@ namespace BlackSimPlugin::FsxCommon
|
||||
// interpolation for all remote aircraft
|
||||
const QList<CSimConnectObject> simObjects(m_simConnectObjects.values());
|
||||
|
||||
int simObjectNumber = 0;
|
||||
uint32_t simObjectNumber = 0;
|
||||
const bool traceSendId = this->isTracingSendId();
|
||||
const bool updateAllAircraft = this->isUpdateAllRemoteAircraft(currentTimestamp);
|
||||
for (const CSimConnectObject &simObject : simObjects)
|
||||
|
||||
Reference in New Issue
Block a user