mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-27 20:56:25 +00:00
pull in project-slippi/Ishiiruka/pull/246/commits/cd2cf4fb44ae11bb96a99c56abbd2eaa8723f231
fix stage selection on first match bug
This commit is contained in:
parent
b11d516d7a
commit
a87f4ca984
2 changed files with 0 additions and 8 deletions
|
@ -2339,12 +2339,6 @@ void CEXISlippi::setMatchSelections(u8* payload)
|
||||||
|
|
||||||
s.rngOffset = generator() % 0xFFFF;
|
s.rngOffset = generator() % 0xFFFF;
|
||||||
|
|
||||||
if (matchmaking->LocalPlayerIndex() == 1 && firstMatch)
|
|
||||||
{
|
|
||||||
firstMatch = false;
|
|
||||||
s.stageId = getRandomStage(onlineMode);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Merge these selections
|
// Merge these selections
|
||||||
localSelections.Merge(s);
|
localSelections.Merge(s);
|
||||||
|
|
||||||
|
@ -2542,7 +2536,6 @@ void CEXISlippi::handleConnectionCleanup()
|
||||||
|
|
||||||
// Reset play session
|
// Reset play session
|
||||||
is_play_session_active = false;
|
is_play_session_active = false;
|
||||||
firstMatch = true;
|
|
||||||
|
|
||||||
#ifdef LOCAL_TESTING
|
#ifdef LOCAL_TESTING
|
||||||
isLocalConnected = false;
|
isLocalConnected = false;
|
||||||
|
|
|
@ -224,7 +224,6 @@ private:
|
||||||
u32 frameSeqIdx = 0;
|
u32 frameSeqIdx = 0;
|
||||||
|
|
||||||
bool isEnetInitialized = false;
|
bool isEnetInitialized = false;
|
||||||
bool firstMatch = true;
|
|
||||||
|
|
||||||
std::default_random_engine generator;
|
std::default_random_engine generator;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue