diff options
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)) |