Browse Source

engine: client: do not check screenshots in base directory to guess the name

pull/2/head
Alibek Omarov 1 year ago
parent
commit
bee35a1873
  1. 4
      engine/client/cl_cmds.c

4
engine/client/cl_cmds.c

@ -206,7 +206,7 @@ void CL_ScreenShot_f( void ) @@ -206,7 +206,7 @@ void CL_ScreenShot_f( void )
if( !CL_ScreenshotGetName( i, checkname, sizeof( checkname )))
return; // no namespace
if( !FS_FileExists( checkname, false ))
if( !FS_FileExists( checkname, true ))
break;
}
@ -246,7 +246,7 @@ void CL_SnapShot_f( void ) @@ -246,7 +246,7 @@ void CL_SnapShot_f( void )
if( !CL_SnapshotGetName( i, checkname, sizeof( checkname )))
return; // no namespace
if( !FS_FileExists( checkname, false ))
if( !FS_FileExists( checkname, true ))
break;
}

Loading…
Cancel
Save