This commit is contained in:
Shauren
2021-06-27 20:20:51 +02:00
parent 0bbf3f7300
commit b70f34b696
24 changed files with 1856 additions and 400 deletions

View File

@@ -163,7 +163,7 @@ struct TRootHandler_WoW : public TFileTreeRoot
pbRootPtr = pbRootPtr + (sizeof(CONTENT_KEY) * RootGroup.Header.NumberOfFiles);
// Also include array of file hashes
if(FileCounter > FileCounterHashless)
if(!(RootGroup.Header.ContentFlags & CASC_CFLAG_NO_NAME_HASH))
{
if((pbRootPtr + (sizeof(ULONGLONG) * RootGroup.Header.NumberOfFiles)) > pbRootEnd)
return NULL;