engine: client: do not check screenshots in base directory to guess the name
This commit is contained in:
parent
e4ae386964
commit
bee35a1873
1 changed files with 2 additions and 2 deletions
|
@ -206,7 +206,7 @@ void CL_ScreenShot_f( void )
|
||||||
if( !CL_ScreenshotGetName( i, checkname, sizeof( checkname )))
|
if( !CL_ScreenshotGetName( i, checkname, sizeof( checkname )))
|
||||||
return; // no namespace
|
return; // no namespace
|
||||||
|
|
||||||
if( !FS_FileExists( checkname, false ))
|
if( !FS_FileExists( checkname, true ))
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -246,7 +246,7 @@ void CL_SnapShot_f( void )
|
||||||
if( !CL_SnapshotGetName( i, checkname, sizeof( checkname )))
|
if( !CL_SnapshotGetName( i, checkname, sizeof( checkname )))
|
||||||
return; // no namespace
|
return; // no namespace
|
||||||
|
|
||||||
if( !FS_FileExists( checkname, false ))
|
if( !FS_FileExists( checkname, true ))
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue