Bring back ternaries

This commit is contained in:
t0mtee
2026-06-29 13:21:47 +01:00
parent 4676e2a537
commit 27a4ba905a
+2 -10
View File
@@ -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