Commit c820166
Fix multi sync screen showing wrong player status for non-host players (scp-fs2open#7359)
Net_player[idx] (pointer arithmetic from current player) was used instead
of Net_players[idx] (global array index), causing the status display to
read from wrong offsets. This coincidentally worked for the host at index 0
but showed incorrect status for all other players — most visibly on
standalone servers where no client is at index 0.
Fixes scp-fs2open#7358
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 7826b96 commit c820166
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7821 | 7821 | | |
7822 | 7822 | | |
7823 | 7823 | | |
7824 | | - | |
| 7824 | + | |
7825 | 7825 | | |
7826 | 7826 | | |
7827 | 7827 | | |
| |||
0 commit comments