Skip to content

Commit cf5591e

Browse files
committed
respect global sound volume settings for dialogs
1 parent 8721742 commit cf5591e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

game/ui/dialogmenu.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ void DialogMenu::setupSettings() {
5858
dlgAnimation = Gothic::settingsGetI("GAME","animatedWindows");
5959
showSubtitles = Gothic::settingsGetI("GAME","subTitles");
6060
showSubtitlesPlayer = Gothic::settingsGetI("GAME","subTitlesPlayer");
61+
62+
const float volume = Gothic::inst().settingsGetF("SOUND","soundVolume");
63+
soundDevice.setGlobalVolume(volume);
6164
}
6265

6366
void DialogMenu::tick(uint64_t dt) {

0 commit comments

Comments
 (0)