From 953e9ec2875897bbb4e5523fd505503dd966ba02 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Mon, 2 Jun 2008 19:37:05 +0000 Subject: [PATCH] sv_voip cvar should be latched. --- code/server/sv_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/server/sv_init.c b/code/server/sv_init.c index d46f2734..28b3a1d4 100644 --- a/code/server/sv_init.c +++ b/code/server/sv_init.c @@ -655,7 +655,7 @@ void SV_Init (void) { sv_serverid = Cvar_Get ("sv_serverid", "0", CVAR_SYSTEMINFO | CVAR_ROM ); sv_pure = Cvar_Get ("sv_pure", "1", CVAR_SYSTEMINFO ); #if USE_VOIP - sv_voip = Cvar_Get ("sv_voip", "1", CVAR_SYSTEMINFO ); + sv_voip = Cvar_Get ("sv_voip", "1", CVAR_SYSTEMINFO | CVAR_LATCH); #endif Cvar_Get ("sv_paks", "", CVAR_SYSTEMINFO | CVAR_ROM ); Cvar_Get ("sv_pakNames", "", CVAR_SYSTEMINFO | CVAR_ROM );