aboutsummaryrefslogtreecommitdiff
path: root/sp/src/utils/vbsp/map.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sp/src/utils/vbsp/map.cpp')
-rw-r--r--sp/src/utils/vbsp/map.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/sp/src/utils/vbsp/map.cpp b/sp/src/utils/vbsp/map.cpp
index 34219bd4..bbab291e 100644
--- a/sp/src/utils/vbsp/map.cpp
+++ b/sp/src/utils/vbsp/map.cpp
@@ -2003,9 +2003,12 @@ 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, "MOD", FDGPath, sizeof( FDGPath ) ) )
{
- Msg( "Could not locate GameData file %s\n", GameDataFile );
+ if ( !g_pFullFileSystem->RelativePathToFullPath( GameDataFile, "", FDGPath, sizeof( FDGPath ) ) )
+ {
+ Msg( "Could not locate GameData file %s\n", GameDataFile );
+ }
}
}