Permalink
Browse files

renderer2: initial CVAR_LATCH flag for r_lightScale

  • Loading branch information...
IR4T4 committed Jan 10, 2019
1 parent 7a07e82 commit bbda7e3d2558d1c3f0d3fa8dff94ccb455854fc9
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/renderer2/tr_init.c
@@ -1240,7 +1240,7 @@ void R_Register(void)
r_railSegmentLength = ri.Cvar_Get("r_railSegmentLength", "32", CVAR_ARCHIVE);

r_ambientScale = ri.Cvar_Get("r_ambientScale", "0.5", CVAR_CHEAT);
r_lightScale = ri.Cvar_Get("r_lightScale", "1", CVAR_CHEAT | CVAR_ARCHIVE);
r_lightScale = ri.Cvar_Get("r_lightScale", "1", CVAR_CHEAT | CVAR_LATCH); // requires a FULL restart/bsp parse for static lights

r_vboFaces = ri.Cvar_Get("r_vboFaces", "1", CVAR_CHEAT);
r_vboCurves = ri.Cvar_Get("r_vboCurves", "1", CVAR_CHEAT);

0 comments on commit bbda7e3

Please sign in to comment.