mirror of
https://github.com/FWGS/xash3d-fwgs
synced 2024-11-22 01:45:19 +01:00
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:
parent
d237114962
commit
816337a7bb
@ -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++ )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user