diff options
author | Shauren <shauren.trinity@gmail.com> | 2023-06-23 10:25:18 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2023-06-23 10:25:18 +0200 |
commit | 9ad1e5d635e2fd4c2486d5f2bf1cb52d8e768558 (patch) | |
tree | 00b379e3f84ff5b428f0fafd5bdeac0489ede0c4 /dep/CascLib/src/common/RootHandler.cpp | |
parent | 54596eb8ce5d7933164073eb3768f52124ba4262 (diff) |
Dep/CascLib: Update to ladislav-zezula/CascLib@ebd79e8fd43279343c543a27fce620f6b1b53cb9
Diffstat (limited to 'dep/CascLib/src/common/RootHandler.cpp')
-rw-r--r-- | dep/CascLib/src/common/RootHandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dep/CascLib/src/common/RootHandler.cpp b/dep/CascLib/src/common/RootHandler.cpp index 95fa106e1bd..227eaff6b96 100644 --- a/dep/CascLib/src/common/RootHandler.cpp +++ b/dep/CascLib/src/common/RootHandler.cpp @@ -83,8 +83,8 @@ PCASC_CKEY_ENTRY TFileTreeRoot::Search(TCascSearch * pSearch, PCASC_FIND_DATA pF pFileNode = FileTree.PathAt(pFindData->szFileName, MAX_PATH, pSearch->nFileIndex++); if(pFileNode != NULL) { - // Ignore folders and mount points - if(!(pFileNode->Flags & CFN_FLAG_FOLDER)) + // Ignore folders, but report mount points. These can and should be able to open and read + if((pFileNode->Flags & (CFN_FLAG_FOLDER | CFN_FLAG_MOUNT_POINT)) != CFN_FLAG_FOLDER) { // Check the wildcard if(CascCheckWildCard(pFindData->szFileName, pSearch->szMask)) |