mirror of
https://github.com/w23/xash3d-fwgs
synced 2024-12-16 14:10:11 +01:00
filesystem: disable netpath code
This code was used in ancient approach, where executables and game files may have different path. And this code was working only on Win32 with case-insensitive `getenv()`
This commit is contained in:
parent
497ae6d269
commit
8d2bea03e0
@ -2452,6 +2452,7 @@ static searchpath_t *FS_FindFile( const char *name, int *index, qboolean gamedir
|
||||
return search;
|
||||
}
|
||||
|
||||
#if 0
|
||||
// search for environment path
|
||||
while( ( pEnvPath = getenv( "Path" ) ) )
|
||||
{
|
||||
@ -2469,6 +2470,7 @@ static searchpath_t *FS_FindFile( const char *name, int *index, qboolean gamedir
|
||||
}
|
||||
pEnvPath += (end - pEnvPath) + 1; // move pointer
|
||||
}
|
||||
#endif // 0
|
||||
}
|
||||
|
||||
if( index != NULL )
|
||||
|
Loading…
Reference in New Issue
Block a user