1
0
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:
Nicholas Hastings
2014-05-20 23:28:32 -04:00
parent 3b36cbec6e
commit eedbb7b7df
6 changed files with 85 additions and 21 deletions

View File

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