Skip to content

Commit

Permalink
engine: client: do not check screenshots in base directory to guess t…
Browse files Browse the repository at this point in the history
…he name
  • Loading branch information
a1batross committed Sep 13, 2023
1 parent e4ae386 commit bee35a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions engine/client/cl_cmds.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down Expand Up @@ -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;
}

Expand Down

0 comments on commit bee35a1

Please sign in to comment.