mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Dep/CascLib: Update to ladislav-zezula/CascLib@b91f87c770
This commit is contained in:
@@ -81,10 +81,6 @@ PCASC_CKEY_ENTRY TFileTreeRoot::Search(TCascSearch * pSearch, PCASC_FIND_DATA pF
|
||||
// Retrieve the extra values (FileDataId, file size and locale flags)
|
||||
FileTree.GetExtras(pFileNode, &pFindData->dwFileDataId, &pFindData->dwLocaleFlags, &pFindData->dwContentFlags);
|
||||
|
||||
// Supply the bCanOpenByDataId variable
|
||||
pFindData->bCanOpenByName = (pFileNode->FileNameHash != 0);
|
||||
pFindData->bCanOpenByDataId = (pFindData->dwFileDataId != CASC_INVALID_ID);
|
||||
|
||||
// Return the found CKey entry
|
||||
return pFileNode->pCKeyEntry;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user