summaryrefslogtreecommitdiff
path: root/src/heretic/s_sound.c
diff options
context:
space:
mode:
authorSimon Howard2010-04-30 21:48:34 +0000
committerSimon Howard2010-04-30 21:48:34 +0000
commitaf48a6309cf1f03b5136e26a5fc27a38e490d808 (patch)
tree71fd24e7cb697a06c323cfcd770ca9796b30bd45 /src/heretic/s_sound.c
parent1162b2c65c5bcff51e2d13aa2cfc2051529cfe68 (diff)
downloadchocolate-doom-af48a6309cf1f03b5136e26a5fc27a38e490d808.tar.gz
chocolate-doom-af48a6309cf1f03b5136e26a5fc27a38e490d808.tar.bz2
chocolate-doom-af48a6309cf1f03b5136e26a5fc27a38e490d808.zip
Scale up music volume from configuration file value in Heretic/Hexen.
Subversion-branch: /branches/raven-branch Subversion-revision: 1925
Diffstat (limited to 'src/heretic/s_sound.c')
-rw-r--r--src/heretic/s_sound.c4
1 files changed, 2 insertions, 2 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();