r1356 - trunk/code/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Mon Jun 2 15:37:05 EDT 2008


Author: icculus
Date: 2008-06-02 15:37:05 -0400 (Mon, 02 Jun 2008)
New Revision: 1356

Modified:
   trunk/code/server/sv_init.c
Log:
sv_voip cvar should be latched.


Modified: trunk/code/server/sv_init.c
===================================================================
--- trunk/code/server/sv_init.c	2008-06-02 15:54:36 UTC (rev 1355)
+++ trunk/code/server/sv_init.c	2008-06-02 19:37:05 UTC (rev 1356)
@@ -655,7 +655,7 @@
 	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 );




More information about the quake3-commits mailing list