Cvar audit; These files set cvars improperly, by changing their values

without using Cvar_SetValue ().
This commit is contained in:
Jeff Teunissen 2000-09-25 06:36:50 +00:00
parent bf2ec8da6d
commit 71b841adeb
14 changed files with 56 additions and 82 deletions

View file

@ -834,8 +834,8 @@ R_SetupFrame
static void R_SetupFrame (void)
{
// don't allow cheats in multiplayer
r_fullbright->value = 0;
r_lightmap->value = 0;
Cvar_SetValue (r_fullbright, 0);
Cvar_SetValue (r_lightmap, 0);
if (!atoi(Info_ValueForKey(cl.serverinfo, "watervis")))
Cvar_SetValue(r_wateralpha, 1);