aboutsummaryrefslogtreecommitdiff
path: root/mp/src/utils
diff options
context:
space:
mode:
authorJørgen P. Tjernø <[email protected]>2013-12-03 10:24:59 -0800
committerJørgen P. Tjernø <[email protected]>2013-12-03 10:24:59 -0800
commit45cc6eccbc28533926c3630f1e0dc4de9267019f (patch)
treebbc80b26c0a742eb60f1143ef137ead03dd97bef /mp/src/utils
parentUpdated the SDK with the latest code from the TF and HL2 branches (diff)
parentMerge remote-tracking branch 'upstream/master' into vbsp-fixes. (diff)
downloadsource-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')
-rw-r--r--mp/src/utils/vbsp/map.cpp2
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 );
}