aboutsummaryrefslogtreecommitdiff
path: root/src/SFileAttributes.cpp
diff options
context:
space:
mode:
authorunknown <E:\Ladik\Mail>2015-05-04 07:26:51 +0200
committerunknown <E:\Ladik\Mail>2015-05-04 07:26:51 +0200
commitd39d99944be052456d3c69482fe59ee7ed43b77b (patch)
tree9f0161f02c8618fb3b6f24834218a9127daa716f /src/SFileAttributes.cpp
parent250891b7c53359dec2c2c6072501c609c2dde217 (diff)
+ The "(attributes)" file si only loaded if the block table was not cut
Diffstat (limited to 'src/SFileAttributes.cpp')
-rw-r--r--src/SFileAttributes.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/SFileAttributes.cpp b/src/SFileAttributes.cpp
index dacfd3b..bd1956d 100644
--- a/src/SFileAttributes.cpp
+++ b/src/SFileAttributes.cpp
@@ -367,6 +367,7 @@ int SAttrLoadAttributes(TMPQArchive * ha)
// File table must be initialized
assert(ha->pFileTable != NULL);
+ assert((ha->dwFlags & MPQ_FLAG_BLOCK_TABLE_CUT) == 0);
// Don't load the attributes file from malformed Warcraft III maps
if(ha->dwFlags & MPQ_FLAG_MALFORMED)