mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-02-01 09:44:21 +00: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;
|
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…
x
Reference in New Issue
Block a user