diff options
author | Ladislav <Zezula> | 2013-11-18 12:35:21 +0100 |
---|---|---|
committer | Ladislav <Zezula> | 2013-11-18 12:35:21 +0100 |
commit | 870acd582701bc67c29b48319972303e5ceb706d (patch) | |
tree | 01f5150ff893c17251db52b1163c8a4c0cc596d2 /src/SFileFindFile.cpp | |
parent | 1f2305cc35734a8f3198be4ce6145de1710308b5 (diff) |
+ Adding files to MPQ no longer removes (listfile) and (attributes) when not enough space in the hash tablev8.99
+ Fixes in deletion of files from MPQs v 4.0
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; |