Changed a few VoIP cvars to be latched.

It either doesn't make sense to change these mid-game, or doing so won't work.
This commit is contained in:
Ryan C. Gordon 2008-06-01 18:10:33 +00:00
parent 9b1984647a
commit b5eaa94d03
2 changed files with 3 additions and 3 deletions

View file

@ -2071,7 +2071,7 @@ qboolean S_AL_Init( soundInterface_t *si )
// !!! FIXME: some of these alcCaptureOpenDevice() values should be cvars.
// !!! FIXME: add support for capture device enumeration.
// !!! FIXME: add some better error reporting.
s_alCapture = Cvar_Get( "s_alCapture", "1", CVAR_ARCHIVE );
s_alCapture = Cvar_Get( "s_alCapture", "1", CVAR_ARCHIVE | CVAR_LATCH );
if (!s_alCapture->integer) {
Com_Printf("OpenAL capture support disabled by user ('+set s_alCapture 1' to enable)\n");
#if USE_MUMBLE