Adds option for Lost Woods leading music to be disabled. (#3233)

In the Audio Editor Options tab, useful for hearing Custom Sequences more clearly in the Lost Woods.
This commit is contained in:
Christopher Leggett
2023-10-04 11:09:37 -04:00
committed by GitHub
parent a92844fa92
commit 85432ce496
2 changed files with 11 additions and 1 deletions
@@ -41,7 +41,10 @@ void EnRiverSound_Init(Actor* thisx, PlayState* play) {
Actor_Kill(&this->actor);
} else if (this->actor.params == RS_SARIAS_SONG) {
// Always have leading music in rando
if ((!CHECK_QUEST_ITEM(QUEST_SONG_LULLABY) || CHECK_QUEST_ITEM(QUEST_SONG_SARIA)) && !IS_RANDO) {
if (
CVarGetInteger("gLostWoodsConsistentVolume", 0) ||
((!CHECK_QUEST_ITEM(QUEST_SONG_LULLABY) || CHECK_QUEST_ITEM(QUEST_SONG_SARIA)) && !IS_RANDO)
) {
Actor_Kill(&this->actor);
}
}