mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-13 00:28:15 +00:00
engine: client: don't trigger CheckGamma if there is no screenshot action
This commit is contained in:
parent
85de61ebc8
commit
618ec83c9d
@ -288,6 +288,9 @@ void SCR_MakeScreenShot( void )
|
||||
qboolean iRet = false;
|
||||
int viewsize;
|
||||
|
||||
if( cls.scrshot_action == scrshot_inactive )
|
||||
return;
|
||||
|
||||
if( cls.envshot_viewsize > 0 )
|
||||
viewsize = cls.envshot_viewsize;
|
||||
else viewsize = cl_envshot_size.value;
|
||||
@ -319,8 +322,6 @@ void SCR_MakeScreenShot( void )
|
||||
if( iRet )
|
||||
VID_WriteOverviewScript(); // store overview script too
|
||||
break;
|
||||
case scrshot_inactive:
|
||||
return;
|
||||
}
|
||||
|
||||
// report
|
||||
|
Loading…
Reference in New Issue
Block a user