Add G_LocalSplitscreenPartyPosition

This commit is contained in:
James R 2024-02-24 21:22:40 -08:00
parent 8f262aa390
commit abaa237b08
2 changed files with 10 additions and 0 deletions

View file

@ -316,3 +316,10 @@ UINT8 G_PartyPosition(UINT8 player)
return party.find(player) - party.begin();
}
UINT8 G_LocalSplitscreenPartyPosition(UINT8 player)
{
const Party& party = local_party[player];
return party.find(player) - party.begin();
}

View file

@ -62,6 +62,9 @@ const UINT8 *G_PartyArray(UINT8 player);
// Suitable index to G_PartyMember and G_PartyArray.
UINT8 G_PartyPosition(UINT8 player);
//
UINT8 G_LocalSplitscreenPartyPosition(UINT8 player);
//
// Globals
//