mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-13 08:38:59 +00:00
engine: client: do not check screenshots in base directory to guess the name
This commit is contained in:
parent
e4ae386964
commit
bee35a1873
@ -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…
Reference in New Issue
Block a user