mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-05-31 09:11:06 +00:00
Cvar audit; These files set cvars improperly, by changing their values
without using Cvar_SetValue ().
This commit is contained in:
parent
bf2ec8da6d
commit
71b841adeb
14 changed files with 56 additions and 82 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue