mirror of https://github.com/AxioDL/metaforce.git
CMain::StreamNewGameState merge fixes
This commit is contained in:
parent
735183d51a
commit
2699d96989
|
@ -131,10 +131,10 @@ void CMain::LoadAudio()
|
|||
void CMain::StreamNewGameState(CBitStreamReader& r, u32 idx)
|
||||
{
|
||||
bool fusionBackup = g_GameState->SystemOptions().GetPlayerHasFusion();
|
||||
x128_globalObjects.x134_gameState = CGameState(r, idx);
|
||||
g_GameState = &x128_globalObjects.x134_gameState;
|
||||
x128_globalObjects.x134_gameState = std::make_unique<CGameState>(r, idx);
|
||||
g_GameState = x128_globalObjects.x134_gameState.get();
|
||||
g_GameState->SystemOptions().SetPlayerHasFusion(fusionBackup);
|
||||
g_GameState->GetPlayerState()->SetFusion(fusionBackup);
|
||||
g_GameState->GetPlayerState()->SetIsFusionEnabled(fusionBackup);
|
||||
g_GameState->HintOptions().SetNextHintTime();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue