aboutsummaryrefslogtreecommitdiff
path: root/dep/CascLib/src/CascFiles.cpp
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2017-03-07 17:14:16 +0100
committerShauren <shauren.trinity@gmail.com>2017-03-07 17:14:16 +0100
commit5e3156e27f7c49146ac6aa8af9fdab8a554a3c54 (patch)
tree03985520498e2a859751c11aea456a55f267d089 /dep/CascLib/src/CascFiles.cpp
parentc0a2c30a27f19d96a1ac44e6b2bcfcacb100b66a (diff)
Dep/CascLib: Update to ladislav-zezula/CascLib@2313e4aff966ef0f841c1748dad4db71c8ba6310
Closes #19237
Diffstat (limited to 'dep/CascLib/src/CascFiles.cpp')
-rw-r--r--dep/CascLib/src/CascFiles.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/dep/CascLib/src/CascFiles.cpp b/dep/CascLib/src/CascFiles.cpp
index bb207c8f858..d17d1bc0204 100644
--- a/dep/CascLib/src/CascFiles.cpp
+++ b/dep/CascLib/src/CascFiles.cpp
@@ -861,15 +861,14 @@ int LoadBuildInfo(TCascStorage * hs)
// proceed with loading the CDN config file and CDN build file
if(nError == ERROR_SUCCESS)
{
- // Load the configuration file
+ // Load the configuration file. Note that we don't
+ // need it for anything, really, so we don't care if it fails
pvListFile = FetchAndVerifyConfigFile(hs, &hs->CdnConfigKey);
if(pvListFile != NULL)
{
nError = LoadCdnConfigFile(hs, pvListFile);
ListFile_Free(pvListFile);
}
- else
- nError = ERROR_FILE_NOT_FOUND;
}
// Load the build file
@@ -902,9 +901,9 @@ int LoadBuildInfo(TCascStorage * hs)
return nError;
}
-// Checks whether there is a ".agent.db". If yes, the function
-// sets "szRootPath" and "szDataPath" in the storage structure
-// and returns ERROR_SUCCESS
+// Checks whether there is a ".build.info" or ".build.db".
+// If yes, the function sets "szRootPath" and "szDataPath"
+// in the storage structure and returns ERROR_SUCCESS
int CheckGameDirectory(TCascStorage * hs, TCHAR * szDirectory)
{
TFileStream * pStream;