Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
TwinFan opened this issue May 1, 2020 · 0 comments
Closed

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

TwinFan opened this issue May 1, 2020 · 0 comments
Assignees
Labels
bug Something isn't working confirmed Bug is reproducible

Comments

@TwinFan
Copy link
Owner

TwinFan commented May 1, 2020

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

  • OS: All
  • X-Plane: All

Additional context
Report on the support forum.

@TwinFan TwinFan added bug Something isn't working confirmed Bug is reproducible labels May 1, 2020
@TwinFan TwinFan self-assigned this May 1, 2020
@TwinFan TwinFan closed this as completed in 7606390 May 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working confirmed Bug is reproducible
Projects
None yet
Development

No branches or pull requests

1 participant