TwinFan / XPMP2

Multiplayer library for X-Plane 11/12 with instancing, TCAS override, and sound
https://twinfan.github.io/XPMP2/
Other
24 stars 16 forks source link

Multiplayer Idx off by 1 (should be 1-based, is 0-based) #7

Closed TwinFan closed 4 years ago

TwinFan commented 4 years ago

Describe the bug The multiplayer idx returned to the calling plugin is now zero-based.

To Reproduce / Source Code Example Check XPMPPlanePosition_t::multiIdx returned for any aircraft and compare with multiplayer idx of dataRefs, it's always one too small.

Expected behavior Should be 1-based as 0 is the user's aircraft.

Version

Additional context Report on the support forum.