From d39d99944be052456d3c69482fe59ee7ed43b77b Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 4 May 2015 07:26:51 +0200 Subject: + The "(attributes)" file si only loaded if the block table was not cut --- src/SFileAttributes.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/SFileAttributes.cpp') 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) -- cgit v1.2.3