mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-10-01 02:37:25 -04:00
Fix audio bug, re-enable condition
This commit is contained in:
@@ -75,7 +75,7 @@ void Z2SceneMgr::setFadeOutStart(u8 fadeType) {
|
||||
Z2GetSeqMgr()->bgmAllMute(33, 3.0f / 10.0f);
|
||||
Z2GetSeMgr()->seMoveVolumeAll(0.0f, 33);
|
||||
Z2GetSeqMgr()->setBattleBgmOff(true);
|
||||
load1stWait = 40;
|
||||
load1stWait = 1;
|
||||
timer = -1;
|
||||
}
|
||||
|
||||
@@ -1777,7 +1777,7 @@ void Z2SceneMgr::_load1stWaveInner_1() {
|
||||
if (field_0x1a && Z2GetSeqMgr()->checkBgmPlaying()) {
|
||||
OS_REPORT("[Z2SceneMgr::load1stDynamicWave]bgm StopCount = %d\n", 15);
|
||||
Z2GetSeqMgr()->bgmStop(15, 0);
|
||||
load1stWait = -15;
|
||||
load1stWait = -1;
|
||||
} else {
|
||||
_load1stWaveInner_2();
|
||||
}
|
||||
|
||||
+2
-2
@@ -1418,8 +1418,8 @@ static int phase_2(dScnPly_c* i_this) {
|
||||
|
||||
static int phase_3(dScnPly_c* i_this) {
|
||||
DuskLog.debug("777777777777777777777777777777\n");
|
||||
if ((i_this->sceneCommand != NULL && !i_this->sceneCommand->sync()))
|
||||
// || mDoAud_check1stDynamicWave()) // <------ THIS FUNC IS THE ISSUE OR AT LEAST PART OF IT
|
||||
if ((i_this->sceneCommand != NULL && !i_this->sceneCommand->sync()) ||
|
||||
mDoAud_check1stDynamicWave())
|
||||
{
|
||||
DuskLog.debug("waiting1......\n");
|
||||
return cPhs_INIT_e;
|
||||
|
||||
Reference in New Issue
Block a user