diff --git a/src/Z2AudioLib/Z2SceneMgr.cpp b/src/Z2AudioLib/Z2SceneMgr.cpp index e809aa0adc..ea7545f841 100644 --- a/src/Z2AudioLib/Z2SceneMgr.cpp +++ b/src/Z2AudioLib/Z2SceneMgr.cpp @@ -76,11 +76,7 @@ void Z2SceneMgr::setFadeOutStart(u8 fadeType) { Z2GetSeMgr()->seMoveVolumeAll(0.0f, 33); Z2GetSeqMgr()->setBattleBgmOff(true); #if TARGET_PC - if (dusk::getSettings().game.fastTransitions) { - load1stWait = 1; - } else { - load1stWait = 40; - } + load1stWait = dusk::getSettings().game.fastTransitions ? 1 : 40; #else load1stWait = 40; #endif @@ -1786,11 +1782,7 @@ void Z2SceneMgr::_load1stWaveInner_1() { OS_REPORT("[Z2SceneMgr::load1stDynamicWave]bgm StopCount = %d\n", 15); Z2GetSeqMgr()->bgmStop(15, 0); #if TARGET_PC - if (dusk::getSettings().game.fastTransitions) { - load1stWait = -1; - } else { - load1stWait = -15; - } + load1stWait = dusk::getSettings().game.fastTransitions.getValue() ? -1 : -15; #else load1stWait = -15; #endif