Changed behavior of patched files with MPQ_FLAG_DELETE_MARKER

This commit is contained in:
Ladislav Zezula
2024-12-04 09:16:28 +01:00
parent e10150c8c3
commit d1bf5e1c71
7 changed files with 92 additions and 11 deletions

View File

@@ -352,7 +352,9 @@ static DWORD DoMPQSearch(TMPQSearch * hs, SFILE_FIND_DATA * lpFindFileData)
dwErrCode = (ha->pHashTable != NULL) ? DoMPQSearch_HashTable(hs, lpFindFileData, ha)
: DoMPQSearch_FileTable(hs, lpFindFileData, ha);
if(dwErrCode == ERROR_SUCCESS)
{
return dwErrCode;
}
// If there is no more patches in the chain, stop it.
// This also keeps hs->ha non-NULL, which is required