filesystem: set root directory as static

Counter-Strike uses COM_ExpandFileName to get
full path to filesystem_stdio. When reading liblist.gam,
the engine will clear the search path and the root search path
will be cleared. Set it as static so it will be excluded from clearing.
This commit is contained in:
Bien Pham 2022-11-02 09:44:11 +08:00 committed by Alibek Omarov
parent d237114962
commit 816337a7bb
1 changed files with 1 additions and 1 deletions

View File

@ -1452,7 +1452,7 @@ qboolean FS_InitStdio( qboolean caseinsensitive, const char *rootdir, const char
}
// build list of game directories here
FS_AddGameDirectory( "./", 0 );
FS_AddGameDirectory( "./", FS_STATIC_PATH );
for( i = 0; i < dirs.numstrings; i++ )
{