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

This commit is contained in:
Alibek Omarov 2023-09-13 18:49:10 +03:00
parent e4ae386964
commit bee35a1873
1 changed files with 2 additions and 2 deletions

View File

@ -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 )
if( !CL_SnapshotGetName( i, checkname, sizeof( checkname )))
return; // no namespace
if( !FS_FileExists( checkname, false ))
if( !FS_FileExists( checkname, true ))
break;
}