summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/bonusRoom.cpp1
-rw-r--r--src/msgbox.cpp5
2 files changed, 6 insertions, 0 deletions
diff --git a/src/bonusRoom.cpp b/src/bonusRoom.cpp
index ab06d31..7d391a2 100644
--- a/src/bonusRoom.cpp
+++ b/src/bonusRoom.cpp
@@ -516,6 +516,7 @@ dSingAlong *dSingAlong::build() {
// Events
int dSingAlong::onCreate() {
NoMichaelBuble = true;
+ StageC4::instance->_1D = 1; // enable no-pause
// Load in the settings
this->song = this->settings & 0xF;
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
}