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
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue