diff --git a/engine/client/m_mp3.c b/engine/client/m_mp3.c index 6e239c3bb..732182e60 100644 --- a/engine/client/m_mp3.c +++ b/engine/client/m_mp3.c @@ -4032,7 +4032,7 @@ static void Media_RecordFilm (char *recordingname, qboolean demo) currentcapture_funcs = pluginencodersfunc[i]; } } - if (capturesound.ival) + if (capturesound.ival && !nosound.ival) { sndkhz = snd_speed?snd_speed:48000; sndchannels = capturesoundchannels.ival; diff --git a/engine/client/sound.h b/engine/client/sound.h index 8c9f19ce0..941b5aacd 100644 --- a/engine/client/sound.h +++ b/engine/client/sound.h @@ -312,6 +312,7 @@ extern cvar_t loadas8bit; extern cvar_t bgmvolume; extern cvar_t volume, mastervolume; extern cvar_t snd_capture; +extern cvar_t nosound; extern float voicevolumemod;