mirror of
https://github.com/ValveSoftware/source-sdk-2013.git
synced 2024-11-12 23:44:26 +00:00
Merge pull request #147 from alanedwardes/vbsp-fixes
Changed VBSP to check both the EXECUTABLE_PATH and the MOD path for FDG files.
This commit is contained in:
commit
45cc6eccbc
2 changed files with 2 additions and 2 deletions
|
@ -2003,7 +2003,7 @@ void CMapFile::CheckForInstances( const char *pszFileName )
|
||||||
char FDGPath[ MAX_PATH ];
|
char FDGPath[ MAX_PATH ];
|
||||||
if ( !g_pFullFileSystem->RelativePathToFullPath( GameDataFile, "EXECUTABLE_PATH", FDGPath, sizeof( FDGPath ) ) )
|
if ( !g_pFullFileSystem->RelativePathToFullPath( GameDataFile, "EXECUTABLE_PATH", FDGPath, sizeof( FDGPath ) ) )
|
||||||
{
|
{
|
||||||
if ( !g_pFullFileSystem->RelativePathToFullPath( GameDataFile, "", FDGPath, sizeof( FDGPath ) ) )
|
if ( !g_pFullFileSystem->RelativePathToFullPath( GameDataFile, NULL, FDGPath, sizeof( FDGPath ) ) )
|
||||||
{
|
{
|
||||||
Msg( "Could not locate GameData file %s\n", GameDataFile );
|
Msg( "Could not locate GameData file %s\n", GameDataFile );
|
||||||
}
|
}
|
||||||
|
|
|
@ -2003,7 +2003,7 @@ void CMapFile::CheckForInstances( const char *pszFileName )
|
||||||
char FDGPath[ MAX_PATH ];
|
char FDGPath[ MAX_PATH ];
|
||||||
if ( !g_pFullFileSystem->RelativePathToFullPath( GameDataFile, "EXECUTABLE_PATH", FDGPath, sizeof( FDGPath ) ) )
|
if ( !g_pFullFileSystem->RelativePathToFullPath( GameDataFile, "EXECUTABLE_PATH", FDGPath, sizeof( FDGPath ) ) )
|
||||||
{
|
{
|
||||||
if ( !g_pFullFileSystem->RelativePathToFullPath( GameDataFile, "", FDGPath, sizeof( FDGPath ) ) )
|
if ( !g_pFullFileSystem->RelativePathToFullPath( GameDataFile, NULL, FDGPath, sizeof( FDGPath ) ) )
|
||||||
{
|
{
|
||||||
Msg( "Could not locate GameData file %s\n", GameDataFile );
|
Msg( "Could not locate GameData file %s\n", GameDataFile );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue