diff options
| author | Jørgen P. Tjernø <[email protected]> | 2013-12-03 10:24:59 -0800 |
|---|---|---|
| committer | Jørgen P. Tjernø <[email protected]> | 2013-12-03 10:24:59 -0800 |
| commit | 45cc6eccbc28533926c3630f1e0dc4de9267019f (patch) | |
| tree | bbc80b26c0a742eb60f1143ef137ead03dd97bef /mp/src/utils/vbsp/map.cpp | |
| parent | Updated the SDK with the latest code from the TF and HL2 branches (diff) | |
| parent | Merge remote-tracking branch 'upstream/master' into vbsp-fixes. (diff) | |
| download | source-sdk-2013-45cc6eccbc28533926c3630f1e0dc4de9267019f.tar.xz source-sdk-2013-45cc6eccbc28533926c3630f1e0dc4de9267019f.zip | |
Merge pull request #147 from alanedwardes/vbsp-fixes
Changed VBSP to check both the EXECUTABLE_PATH and the MOD path for FDG files.
Diffstat (limited to 'mp/src/utils/vbsp/map.cpp')
| -rw-r--r-- | mp/src/utils/vbsp/map.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mp/src/utils/vbsp/map.cpp b/mp/src/utils/vbsp/map.cpp index a5456c32..2221c79f 100644 --- a/mp/src/utils/vbsp/map.cpp +++ b/mp/src/utils/vbsp/map.cpp @@ -2003,7 +2003,7 @@ void CMapFile::CheckForInstances( const char *pszFileName ) char FDGPath[ MAX_PATH ]; 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 ); } |