From b4f7d2289af9eb66be79e1a9199cdf751a43af49 Mon Sep 17 00:00:00 2001 From: aMannus Date: Sat, 18 Jan 2025 11:46:38 +0100 Subject: [PATCH] Play success sound on dropping in spoiler log (#4899) --- soh/src/overlays/gamestates/ovl_file_choose/z_file_choose.c | 1 + 1 file changed, 1 insertion(+) diff --git a/soh/src/overlays/gamestates/ovl_file_choose/z_file_choose.c b/soh/src/overlays/gamestates/ovl_file_choose/z_file_choose.c index dbff0955a..b56fbfc1a 100644 --- a/soh/src/overlays/gamestates/ovl_file_choose/z_file_choose.c +++ b/soh/src/overlays/gamestates/ovl_file_choose/z_file_choose.c @@ -1035,6 +1035,7 @@ void FileChoose_UpdateRandomizer() { SpoilerFileExists(CVarGetString(CVAR_GENERAL("SpoilerLog"), "")) && !fileSelectSpoilerFileLoaded) { if (CVarGetInteger(CVAR_GENERAL("RandomizerNewFileDropped"), 0) != 0) { CVarSetString(CVAR_GENERAL("SpoilerLog"), CVarGetString(CVAR_GENERAL("RandomizerDroppedFile"), "")); + Audio_PlayFanfare(NA_BGM_HORSE_GOAL); } const char* fileLoc = CVarGetString(CVAR_GENERAL("SpoilerLog"), ""); CVarSetInteger(CVAR_GENERAL("RandomizerNewFileDropped"), 0);