Browse Source

engine: client: set r_lighting_modulate to 0.6 and save it to config for old Xash mods that use it internally

master
Alibek Omarov 9 months ago
parent
commit
240563cd1b
  1. 2
      engine/client/ref_common.c

2
engine/client/ref_common.c

@ -611,7 +611,7 @@ qboolean R_Init( void )
// cvars that are expected to exist by client.dll // cvars that are expected to exist by client.dll
// refdll should just get pointer to them // refdll should just get pointer to them
Cvar_Get( "r_lighting_modulate", "1", 0, "compatibility cvar, does nothing" ); Cvar_Get( "r_lighting_modulate", "0.6", FCVAR_ARCHIVE, "compatibility cvar, does nothing" );
Cvar_Get( "r_drawentities", "1", FCVAR_CHEAT, "render entities" ); Cvar_Get( "r_drawentities", "1", FCVAR_CHEAT, "render entities" );
Cvar_Get( "cl_himodels", "1", FCVAR_ARCHIVE, "draw high-resolution player models in multiplayer" ); Cvar_Get( "cl_himodels", "1", FCVAR_ARCHIVE, "draw high-resolution player models in multiplayer" );

Loading…
Cancel
Save