engine: gamma: validate gamma cvars in local games too
This commit is contained in:
parent
d4d63301e0
commit
a3acb1c85b
1 changed files with 0 additions and 3 deletions
|
@ -82,9 +82,6 @@ static void BuildGammaTable( const float gamma, const float brightness, const fl
|
||||||
|
|
||||||
static void V_ValidateGammaCvars( void )
|
static void V_ValidateGammaCvars( void )
|
||||||
{
|
{
|
||||||
if( Host_IsLocalGame( ))
|
|
||||||
return;
|
|
||||||
|
|
||||||
if( v_gamma.value < 1.8f )
|
if( v_gamma.value < 1.8f )
|
||||||
Cvar_DirectSet( &v_gamma, "1.8" );
|
Cvar_DirectSet( &v_gamma, "1.8" );
|
||||||
else if( v_gamma.value > 3.0f )
|
else if( v_gamma.value > 3.0f )
|
||||||
|
|
Loading…
Add table
Reference in a new issue