diff options
Diffstat (limited to '')
-rw-r--r-- | src/msgbox.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/msgbox.cpp b/src/msgbox.cpp index 47ec554..829fcb3 100644 --- a/src/msgbox.cpp +++ b/src/msgbox.cpp @@ -76,6 +76,8 @@ int dMsgBoxManager_c::onDelete() { instance = 0; MessageBoxIsShowing = false; + if (canCancel && StageC4::instance) + StageC4::instance->_1D = 0; // disable no-pause msgDataLoader.unload(); return layout.free(); @@ -142,6 +144,7 @@ CREATE_STATE(dMsgBoxManager_c, BoxAppearWait); void dMsgBoxManager_c::beginState_BoxAppearWait() { visible = true; MessageBoxIsShowing = true; + StageC4::instance->_1D = 1; // enable no-pause layout.enableNonLoopAnim(ANIM_BOX_APPEAR); nw4r::snd::SoundHandle handle; @@ -201,6 +204,8 @@ void dMsgBoxManager_c::executeState_BoxDisappearWait() { void dMsgBoxManager_c::endState_BoxDisappearWait() { visible = false; MessageBoxIsShowing = false; + if (canCancel && StageC4::instance) + StageC4::instance->_1D = 0; // disable no-pause } |