summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/heretic/s_sound.c4
-rw-r--r--src/hexen/s_sound.c4
-rw-r--r--src/i_sound.c1
3 files changed, 4 insertions, 5 deletions
diff --git a/src/heretic/s_sound.c b/src/heretic/s_sound.c
index 8e0be9f1..73942201 100644
--- a/src/heretic/s_sound.c
+++ b/src/heretic/s_sound.c
@@ -528,7 +528,7 @@ void S_Init(void)
{
snd_Channels = 8;
}
- I_SetMusicVolume(snd_MusicVolume);
+ I_SetMusicVolume(snd_MusicVolume * 8);
S_SetMaxVolume(true);
I_AtExit(S_ShutDown, true);
@@ -586,7 +586,7 @@ void S_SetMaxVolume(boolean fullprocess)
static boolean musicPaused;
void S_SetMusicVolume(void)
{
- I_SetMusicVolume(snd_MusicVolume);
+ I_SetMusicVolume(snd_MusicVolume * 8);
if (snd_MusicVolume == 0)
{
I_PauseSong();
diff --git a/src/hexen/s_sound.c b/src/hexen/s_sound.c
index 74774fb3..f11e4ee9 100644
--- a/src/hexen/s_sound.c
+++ b/src/hexen/s_sound.c
@@ -736,7 +736,7 @@ void S_Init(void)
{
snd_Channels = 8;
}
- I_SetMusicVolume(snd_MusicVolume);
+ I_SetMusicVolume(snd_MusicVolume * 8);
I_AtExit(S_ShutDown, true);
@@ -837,7 +837,7 @@ void S_SetMusicVolume(void)
}
else
{
- I_SetMusicVolume(snd_MusicVolume);
+ I_SetMusicVolume(snd_MusicVolume * 8);
}
if (snd_MusicVolume == 0)
{
diff --git a/src/i_sound.c b/src/i_sound.c
index 75f82702..cf9e17a3 100644
--- a/src/i_sound.c
+++ b/src/i_sound.c
@@ -247,7 +247,6 @@ void I_UpdateSound(void)
static void CheckVolumeSeparation(int *sep, int *vol)
{
-return;
if (*sep < 0)
{
*sep = 0;