refactor: Change variable type of aircraftNumber

The aircraft number should always be positive
This commit is contained in:
Lars Toenning
2024-01-04 22:38:00 +01:00
parent 4b05c4200d
commit 78d0dc4435
15 changed files with 17 additions and 19 deletions

View File

@@ -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)