2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 21:07:42 +00:00

Fix input being ignored, fix CPauseScreen crash when starting a transition

This commit is contained in:
2017-11-15 08:33:24 -08:00
parent baa6acd198
commit f1329268a6
3 changed files with 5 additions and 2 deletions

View File

@@ -116,7 +116,8 @@ void CPauseScreen::StartTransition(float time, const CStateManager& mgr, ESubScr
std::unique_ptr<CPauseScreenBase>& newScreenSlot = x7c_screens[x78_activeIdx];
std::unique_ptr<CGuiFrame>& newScreenInst = x64_frameInsts[x78_activeIdx];
newScreenSlot = BuildPauseSubScreen(xc_nextSubscreen, mgr, *newScreenInst);
x7c_screens[1 - x78_activeIdx]->TransitioningAway();
if (x7c_screens[1 - x78_activeIdx])
x7c_screens[1 - x78_activeIdx]->TransitioningAway();
x91_initialTransition = false;
}