+ Fixed issue "Internal Files Creation Settings #96"

This commit is contained in:
Zezula Ladislav
2017-08-17 10:20:11 +02:00
parent 2576998c88
commit adac4aa0f5
5 changed files with 19 additions and 15 deletions

View File

@@ -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