Fix music volume when entering dialog

This commit is contained in:
Alexander Batalov 2022-05-20 10:58:35 +03:00
parent 9b40ef4675
commit 4779422285
1 changed files with 2 additions and 1 deletions

View File

@ -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();