mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-26 12:16:20 +00:00
fix a variable name
This commit is contained in:
parent
fd66a5becd
commit
90c4c8ebfb
1 changed files with 3 additions and 3 deletions
|
@ -1926,7 +1926,7 @@ void CEXISlippi::prepareOnlineMatchState()
|
||||||
|
|
||||||
if (mmState == SlippiMatchmaking::ProcessState::CONNECTION_SUCCESS)
|
if (mmState == SlippiMatchmaking::ProcessState::CONNECTION_SUCCESS)
|
||||||
{
|
{
|
||||||
localPlayerIndex = matchmaking->LocalPlayerIndex();
|
m_local_player_index = matchmaking->LocalPlayerIndex();
|
||||||
|
|
||||||
if (!slippi_netplay)
|
if (!slippi_netplay)
|
||||||
{
|
{
|
||||||
|
@ -1973,13 +1973,13 @@ void CEXISlippi::prepareOnlineMatchState()
|
||||||
if (remotePlayerCount == 1)
|
if (remotePlayerCount == 1)
|
||||||
{
|
{
|
||||||
auto isDecider = slippi_netplay->IsDecider();
|
auto isDecider = slippi_netplay->IsDecider();
|
||||||
localPlayerIndex = isDecider ? 0 : 1;
|
m_local_player_index = isDecider ? 0 : 1;
|
||||||
m_remote_player_index = isDecider ? 1 : 0;
|
m_remote_player_index = isDecider ? 1 : 0;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
auto isDecider = slippi_netplay->IsDecider();
|
auto isDecider = slippi_netplay->IsDecider();
|
||||||
localPlayerIndex = isDecider ? 0 : 1;
|
m_local_player_index = isDecider ? 0 : 1;
|
||||||
m_remote_player_index = isDecider ? 1 : 0;
|
m_remote_player_index = isDecider ? 1 : 0;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue