From b229b4d03d12aceb48df50ca6916a1058b1879fc Mon Sep 17 00:00:00 2001 From: icculus Date: Sun, 1 Jun 2008 18:10:33 +0000 Subject: 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. git-svn-id: svn://svn.icculus.org/quake3/trunk@1351 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/client/snd_openal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'code/client/snd_openal.c') diff --git a/code/client/snd_openal.c b/code/client/snd_openal.c index 3295e3e..5f88ab0 100644 --- a/code/client/snd_openal.c +++ b/code/client/snd_openal.c @@ -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 -- cgit v1.2.3