mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-29 07:02:12 +00:00
capturedemo wasn't respecting -nosound arg properly.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5765 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
378570256c
commit
b040358b54
2 changed files with 2 additions and 1 deletions
|
@ -4032,7 +4032,7 @@ static void Media_RecordFilm (char *recordingname, qboolean demo)
|
||||||
currentcapture_funcs = pluginencodersfunc[i];
|
currentcapture_funcs = pluginencodersfunc[i];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (capturesound.ival)
|
if (capturesound.ival && !nosound.ival)
|
||||||
{
|
{
|
||||||
sndkhz = snd_speed?snd_speed:48000;
|
sndkhz = snd_speed?snd_speed:48000;
|
||||||
sndchannels = capturesoundchannels.ival;
|
sndchannels = capturesoundchannels.ival;
|
||||||
|
|
|
@ -312,6 +312,7 @@ extern cvar_t loadas8bit;
|
||||||
extern cvar_t bgmvolume;
|
extern cvar_t bgmvolume;
|
||||||
extern cvar_t volume, mastervolume;
|
extern cvar_t volume, mastervolume;
|
||||||
extern cvar_t snd_capture;
|
extern cvar_t snd_capture;
|
||||||
|
extern cvar_t nosound;
|
||||||
|
|
||||||
extern float voicevolumemod;
|
extern float voicevolumemod;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue