diff options
| author | Alan Edwardes <[email protected]> | 2013-08-05 18:56:45 +0100 |
|---|---|---|
| committer | Alan Edwardes <[email protected]> | 2013-08-05 19:14:47 +0100 |
| commit | 0c8730284404a99c4645634bcaac20e5eb838bee (patch) | |
| tree | 99a0608db67d11e5d3422f98990c6fb47a9e6d3c /mp/src/utils/vbsp/map.cpp | |
| parent | Changed VBSP to check the MOD directory for FGD files specified in gameinfo.t... (diff) | |
| download | source-sdk-2013-0c8730284404a99c4645634bcaac20e5eb838bee.tar.xz source-sdk-2013-0c8730284404a99c4645634bcaac20e5eb838bee.zip | |
VBSP now checks all search paths for an FGD file.
Diffstat (limited to 'mp/src/utils/vbsp/map.cpp')
| -rw-r--r-- | mp/src/utils/vbsp/map.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/mp/src/utils/vbsp/map.cpp b/mp/src/utils/vbsp/map.cpp index bbab291e..a469a198 100644 --- a/mp/src/utils/vbsp/map.cpp +++ b/mp/src/utils/vbsp/map.cpp @@ -2003,12 +2003,9 @@ 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, "MOD", FDGPath, sizeof( FDGPath ) ) )
+ if ( !g_pFullFileSystem->RelativePathToFullPath( GameDataFile, NULL, FDGPath, sizeof( FDGPath ) ) )
{
- if ( !g_pFullFileSystem->RelativePathToFullPath( GameDataFile, "", FDGPath, sizeof( FDGPath ) ) )
- {
- Msg( "Could not locate GameData file %s\n", GameDataFile );
- }
+ Msg( "Could not locate GameData file %s\n", GameDataFile );
}
}
|