Skip to content

Commit

Permalink
engine: gamma: validate gamma cvars in local games too
Browse files Browse the repository at this point in the history
  • Loading branch information
a1batross committed Jan 30, 2024
1 parent d4d6330 commit a3acb1c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions engine/client/gamma.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,6 @@ static void BuildGammaTable( const float gamma, const float brightness, const fl

static void V_ValidateGammaCvars( void )
{
if( Host_IsLocalGame( ))
return;

if( v_gamma.value < 1.8f )
Cvar_DirectSet( &v_gamma, "1.8" );
else if( v_gamma.value > 3.0f )
Expand Down

0 comments on commit a3acb1c

Please sign in to comment.