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:
Alibek Omarov 2019-06-10 00:21:41 +03:00 committed by GitHub
parent 497ae6d269
commit 8d2bea03e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -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 )