Skip to content

Commit

Permalink
Removed cheat protection for r_fullbright and r_lightmap as requested…
Browse files Browse the repository at this point in the history
… by pivot
  • Loading branch information
eternalcodes committed Aug 22, 2016
1 parent 37ac149 commit f1d271f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions codemp/rd-dedicated/tr_init.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ void R_Register( void )
r_subdivisions = ri->Cvar_Get( "r_subdivisions", "4", CVAR_ARCHIVE|CVAR_LATCH, "" );
r_displayRefresh = ri->Cvar_Get( "r_displayRefresh", "0", CVAR_LATCH, "" );
ri->Cvar_CheckRange( r_displayRefresh, 0, 200, qtrue );
r_fullbright = ri->Cvar_Get( "r_fullbright", "0", CVAR_CHEAT, "" );
r_fullbright = ri->Cvar_Get( "r_fullbright", "0", CVAR_NONE, "" );
r_intensity = ri->Cvar_Get( "r_intensity", "1", CVAR_LATCH, "" );
r_singleShader = ri->Cvar_Get( "r_singleShader", "0", CVAR_CHEAT|CVAR_LATCH, "" );
r_lodCurveError = ri->Cvar_Get( "r_lodCurveError", "250", CVAR_ARCHIVE, "" );
Expand Down Expand Up @@ -401,7 +401,7 @@ void R_Register( void )
r_nocurves = ri->Cvar_Get( "r_nocurves", "0", CVAR_CHEAT, "" );
r_drawworld = ri->Cvar_Get( "r_drawworld", "1", CVAR_CHEAT, "" );
r_drawfog = ri->Cvar_Get( "r_drawfog", "2", CVAR_CHEAT, "" );
r_lightmap = ri->Cvar_Get( "r_lightmap", "0", CVAR_CHEAT, "" );
r_lightmap = ri->Cvar_Get( "r_lightmap", "0", CVAR_NONE, "" );
r_portalOnly = ri->Cvar_Get( "r_portalOnly", "0", CVAR_CHEAT, "" );
r_skipBackEnd = ri->Cvar_Get( "r_skipBackEnd", "0", CVAR_CHEAT, "" );
r_measureOverdraw = ri->Cvar_Get( "r_measureOverdraw", "0", CVAR_CHEAT, "" );
Expand Down

0 comments on commit f1d271f

Please sign in to comment.