From 4779422285ad94c68bcd678265d28b1626abb0cb Mon Sep 17 00:00:00 2001 From: Alexander Batalov Date: Fri, 20 May 2022 10:58:35 +0300 Subject: [PATCH] Fix music volume when entering dialog --- src/game_dialog.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/game_dialog.c b/src/game_dialog.c index ccba64e..cd77fb6 100644 --- a/src/game_dialog.c +++ b/src/game_dialog.c @@ -780,7 +780,8 @@ int _gdialogInitFromScript(int headFid, int reaction) _gmouse_disable_scrolling(); if (headFid == -1) { - gGameDialogOldMusicVolume = _gsound_background_volume_get_set(gGameDialogOldMusicVolume / 2); + // SFALL: Fix the music volume when entering the dialog. + gGameDialogOldMusicVolume = _gsound_background_volume_get_set(gMusicVolume / 2); } else { gGameDialogOldMusicVolume = -1; backgroundSoundDelete();