From 870acd582701bc67c29b48319972303e5ceb706d Mon Sep 17 00:00:00 2001 From: Ladislav Date: Mon, 18 Nov 2013 12:35:21 +0100 Subject: + 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 --- src/SFileAttributes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/SFileAttributes.cpp') diff --git a/src/SFileAttributes.cpp b/src/SFileAttributes.cpp index 865debc..995e5b1 100644 --- a/src/SFileAttributes.cpp +++ b/src/SFileAttributes.cpp @@ -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; } -- cgit v1.2.3