mirror of
https://github.com/ladislav-zezula/StormLib.git
synced 2026-01-19 06:25:19 +01:00
+ The "(attributes)" file si only loaded if the block table was not cut
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user