From 65cc5f52f2d596293031ebcf250d68b89a27d490 Mon Sep 17 00:00:00 2001 From: James R Date: Mon, 26 Oct 2020 04:21:06 -0700 Subject: [PATCH] Fix doubling the volume --- src/s_sound.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/s_sound.c b/src/s_sound.c index 197e65e57..ce62cb3e2 100644 --- a/src/s_sound.c +++ b/src/s_sound.c @@ -939,9 +939,9 @@ void S_UpdateSounds(void) memset(&listener4, 0, sizeof(listener_t)); // Update sound/music volumes, if changed manually at console - if (actualsfxvolume != cv_soundvolume.value) + if (actualsfxvolume != cv_soundvolume.value * USER_VOLUME_SCALE) S_SetSfxVolume (cv_soundvolume.value); - if (actualdigmusicvolume != cv_digmusicvolume.value) + if (actualdigmusicvolume != cv_digmusicvolume.value * USER_VOLUME_SCALE) S_SetDigMusicVolume (cv_digmusicvolume.value); // We're done now, if we're not in a level.