aboutsummaryrefslogtreecommitdiff
path: root/src/SFileListFile.cpp
diff options
context:
space:
mode:
authorLadislav <Zezula>2013-11-18 12:35:21 +0100
committerLadislav <Zezula>2013-11-18 12:35:21 +0100
commit870acd582701bc67c29b48319972303e5ceb706d (patch)
tree01f5150ff893c17251db52b1163c8a4c0cc596d2 /src/SFileListFile.cpp
parent1f2305cc35734a8f3198be4ce6145de1710308b5 (diff)
+ Adding files to MPQ no longer removes (listfile) and (attributes) when not enough space in the hash tablev8.99
+ Fixes in deletion of files from MPQs v 4.0
Diffstat (limited to 'src/SFileListFile.cpp')
-rw-r--r--src/SFileListFile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SFileListFile.cpp b/src/SFileListFile.cpp
index 224a288..2044125 100644
--- a/src/SFileListFile.cpp
+++ b/src/SFileListFile.cpp
@@ -398,7 +398,7 @@ int SListFileSaveToMpq(TMPQArchive * ha)
// Free buffers
if(nError == ERROR_SUCCESS)
- ha->dwFlags &= ~MPQ_FLAG_INV_LISTFILE;
+ ha->dwFlags &= ~MPQ_FLAG_LISTFILE_INVALID;
if(SortTable != NULL)
STORM_FREE(SortTable);
return nError;