diff options
Diffstat (limited to 'src/client/snd_mix.c')
-rw-r--r-- | src/client/snd_mix.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/client/snd_mix.c b/src/client/snd_mix.c index fa2a841d..a9d4c794 100644 --- a/src/client/snd_mix.c +++ b/src/client/snd_mix.c @@ -638,7 +638,10 @@ void S_PaintChannels( int endtime ) { int ltime, count; int sampleOffset; - snd_vol = s_volume->value*255; + if(s_muted->integer) + snd_vol = 0; + else + snd_vol = s_volume->value*255; //Com_Printf ("%i to %i\n", s_paintedtime, endtime); while ( s_paintedtime < endtime ) { |