mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-23 21:34:15 +00:00
engine: gamma: validate gamma cvars in local games too
This commit is contained in:
parent
d4d63301e0
commit
a3acb1c85b
@ -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 )
|
||||
|
Loading…
x
Reference in New Issue
Block a user