+ 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

@@ -385,7 +385,7 @@ int SListFileSaveToMpq(TMPQArchive * ha)
if(pbListFile != NULL)
{
// Determine the real flags for (listfile)
if(ha->dwFileFlags1 == MPQ_FILE_EXISTS)
if(ha->dwFileFlags1 == MPQ_FILE_DEFAULT_INTERNAL)
ha->dwFileFlags1 = GetDefaultSpecialFileFlags(cbListFile, ha->pHeader->wFormatVersion);
// Create the listfile in the MPQ