From adac4aa0f586c7aa2a3c19aa4e687d827dc86195 Mon Sep 17 00:00:00 2001 From: Zezula Ladislav Date: Thu, 17 Aug 2017 10:20:11 +0200 Subject: + Fixed issue "Internal Files Creation Settings #96" --- 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 d58426c..f57f62c 100644 --- a/src/SFileAttributes.cpp +++ b/src/SFileAttributes.cpp @@ -429,7 +429,7 @@ int SAttrFileSaveToMpq(TMPQArchive * ha) if(pbAttrFile != NULL) { // Determine the real flags for (attributes) - if(ha->dwFileFlags2 == MPQ_FILE_EXISTS) + if(ha->dwFileFlags2 == MPQ_FILE_DEFAULT_INTERNAL) ha->dwFileFlags2 = GetDefaultSpecialFileFlags(cbAttrFile, ha->pHeader->wFormatVersion); // Create the attributes file in the MPQ -- cgit v1.2.3