Browse Source

engine: filesystem: fix creating directories with roDir

pull/2/head
Alibek Omarov 3 years ago
parent
commit
96f35f76e1
  1. 4
      engine/common/filesystem.c

4
engine/common/filesystem.c

@ -2186,8 +2186,8 @@ void FS_Init( void ) @@ -2186,8 +2186,8 @@ void FS_Init( void )
for( i = 0; i < dirs.numstrings; i++ )
{
char *roPath = va( "%s" PATH_SPLITTER "%s", host.rodir, dirs.strings[i] );
char *rwPath = va( "%s" PATH_SPLITTER "%s", host.rootdir, dirs.strings[i] );
char *roPath = va( "%s" PATH_SPLITTER "%s" PATH_SPLITTER, host.rodir, dirs.strings[i] );
char *rwPath = va( "%s" PATH_SPLITTER "%s" PATH_SPLITTER, host.rootdir, dirs.strings[i] );
// check if it's a directory
if( !FS_SysFolderExists( roPath ))

Loading…
Cancel
Save