mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-29 16:24:16 +00:00
engine: filesystem: fix creating directories with roDir
This commit is contained in:
parent
fa37d153c8
commit
96f35f76e1
@ -2186,8 +2186,8 @@ void FS_Init( void )
|
|||||||
|
|
||||||
for( i = 0; i < dirs.numstrings; i++ )
|
for( i = 0; i < dirs.numstrings; i++ )
|
||||||
{
|
{
|
||||||
char *roPath = va( "%s" PATH_SPLITTER "%s", host.rodir, dirs.strings[i] );
|
char *roPath = va( "%s" PATH_SPLITTER "%s" PATH_SPLITTER, host.rodir, dirs.strings[i] );
|
||||||
char *rwPath = va( "%s" PATH_SPLITTER "%s", host.rootdir, dirs.strings[i] );
|
char *rwPath = va( "%s" PATH_SPLITTER "%s" PATH_SPLITTER, host.rootdir, dirs.strings[i] );
|
||||||
|
|
||||||
// check if it's a directory
|
// check if it's a directory
|
||||||
if( !FS_SysFolderExists( roPath ))
|
if( !FS_SysFolderExists( roPath ))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user