+ Adding files to MPQ no longer removes (listfile) and (attributes) when not enough space in the hash table

+ Fixes in deletion of files from MPQs v 4.0
This commit is contained in:
Ladislav
2013-11-18 12:35:21 +01:00
parent 1f2305cc35
commit 870acd5827
12 changed files with 141 additions and 92 deletions

View File

@@ -363,7 +363,7 @@ int SAttrFileSaveToMpq(TMPQArchive * ha)
}
if(nError == ERROR_SUCCESS)
ha->dwFlags &= ~MPQ_FLAG_INV_ATTRIBUTES;
ha->dwFlags &= ~MPQ_FLAG_ATTRIBUTES_INVALID;
return nError;
}