diff options
author | Ladislav Zezula <zezula@volny.cz> | 2021-12-18 07:24:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-18 07:24:46 +0100 |
commit | e29888e48a41879dba68e690a675324097802270 (patch) | |
tree | ac0102cb6c3b58e8eb4fe8d9132a2355b3394855 /src/SFileFindFile.cpp | |
parent | 5ced3835f9d52584bc20fb6a3a0e58069374e9af (diff) | |
parent | e7af34bcfb5cba3c1ff6ac1b2ebd8c4ba47f1df4 (diff) |
Merge pull request #232 from ladislav-zezula/LZ_CannotExtractCHK
Update for protected Starcraft I maps
Diffstat (limited to 'src/SFileFindFile.cpp')
-rw-r--r-- | src/SFileFindFile.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/SFileFindFile.cpp b/src/SFileFindFile.cpp index ef8b834..223e194 100644 --- a/src/SFileFindFile.cpp +++ b/src/SFileFindFile.cpp @@ -221,7 +221,7 @@ static bool DoMPQSearch_FileEntry( if((pFileEntry->dwFlags & hs->dwFlagMask) == MPQ_FILE_EXISTS)
{
// Ignore fake files which are not compressed but have size higher than the archive
- if ((pFileEntry->dwFlags & MPQ_FILE_COMPRESS_MASK) == 0 && (pFileEntry->dwFileSize > ha->FileSize))
+ if((pFileEntry->dwFlags & MPQ_FILE_COMPRESS_MASK) == 0 && (pFileEntry->dwFileSize > ha->FileSize))
return false;
// Now we have to check if this file was not enumerated before
@@ -236,8 +236,6 @@ static bool DoMPQSearch_FileEntry( // Prepare the block index
dwBlockIndex = (DWORD)(pFileEntry - ha->pFileTable);
- if(dwBlockIndex == 569)
- szNameBuff[0] = 'F';
// Get the file name. If it's not known, we will create pseudo-name
szFileName = pFileEntry->szFileName;
|