Permalink
Browse files

spearmint: Remove cheat protection from OpenGL2's r_forceSun

  • Loading branch information...
zturtleman committed Feb 15, 2017
1 parent a35e4b5 commit 96eb7e8345def2b1cb41e6d79576f5f9f1aa4383
Showing with 1 addition and 1 deletion.
  1. +1 −1 code/renderergl2/tr_init.c
@@ -1314,7 +1314,7 @@ void R_Register( void )
r_imageUpsampleType = ri.Cvar_Get( "r_imageUpsampleType", "1", CVAR_ARCHIVE | CVAR_LATCH );
r_genNormalMaps = ri.Cvar_Get( "r_genNormalMaps", "0", CVAR_ARCHIVE | CVAR_LATCH );
r_forceSun = ri.Cvar_Get( "r_forceSun", "0", CVAR_CHEAT );
r_forceSun = ri.Cvar_Get( "r_forceSun", "0", CVAR_ARCHIVE );
r_forceSunLightScale = ri.Cvar_Get( "r_forceSunLightScale", "1.0", CVAR_CHEAT );
r_forceSunAmbientScale = ri.Cvar_Get( "r_forceSunAmbientScale", "0.5", CVAR_CHEAT );
r_drawSunRays = ri.Cvar_Get( "r_drawSunRays", "0", CVAR_ARCHIVE | CVAR_LATCH );

0 comments on commit 96eb7e8

Please sign in to comment.