mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-09-26 09:18:40 -04:00
Bring back ternaries
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user