mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-09-19 20:16:10 +08:00
Update for latest game update.
This commit is contained in:
@ -241,7 +241,11 @@ CSysModule *Sys_LoadModule( const char *pModuleName )
|
||||
if ( !Q_IsAbsolutePath( pModuleName ) )
|
||||
{
|
||||
// full path wasn't passed in, using the current working dir
|
||||
_getcwd( szCwd, sizeof( szCwd ) );
|
||||
if (!_getcwd( szCwd, sizeof( szCwd ) ))
|
||||
{
|
||||
Msg("Failed to load %s\n", pModuleName);
|
||||
return NULL;
|
||||
}
|
||||
if ( IsX360() )
|
||||
{
|
||||
int i = CommandLine()->FindParm( "-basedir" );
|
||||
|
Reference in New Issue
Block a user