Browse Source

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()`
pull/2/head
Alibek Omarov 6 years ago committed by GitHub
parent
commit
8d2bea03e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      engine/common/filesystem.c

2
engine/common/filesystem.c

@ -2452,6 +2452,7 @@ static searchpath_t *FS_FindFile( const char *name, int *index, qboolean gamedir
return search; return search;
} }
#if 0
// search for environment path // search for environment path
while( ( pEnvPath = getenv( "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 pEnvPath += (end - pEnvPath) + 1; // move pointer
} }
#endif // 0
} }
if( index != NULL ) if( index != NULL )

Loading…
Cancel
Save