diff options
Diffstat (limited to 'src/SFileFindFile.cpp')
-rw-r--r-- | src/SFileFindFile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SFileFindFile.cpp b/src/SFileFindFile.cpp index 17c9e24..af7e6bc 100644 --- a/src/SFileFindFile.cpp +++ b/src/SFileFindFile.cpp @@ -140,7 +140,7 @@ static DWORD GetSearchTableItems(TMPQArchive * ha) while(ha != NULL) { // Append the number of files - dwMergeItems += (ha->pHetTable != NULL) ? ha->pHetTable->dwMaxFileCount + dwMergeItems += (ha->pHetTable != NULL) ? ha->pHetTable->dwFileCount : ha->pHeader->dwBlockTableSize; // Move to the patched archive ha = ha->haPatch; |