engine: gamma: validate gamma cvars in local games too

This commit is contained in:
Alibek Omarov 2024-01-30 17:55:36 +03:00
parent d4d63301e0
commit a3acb1c85b
1 changed files with 0 additions and 3 deletions

View File

@ -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 )