diff options
author | Ladislav <Zezula> | 2013-11-15 10:17:43 +0100 |
---|---|---|
committer | Ladislav <Zezula> | 2013-11-15 10:17:43 +0100 |
commit | 87eb1df287ebe76725d376a28facccbe0ccd7f92 (patch) | |
tree | d911227a2c9976a075426f9817812f9119404759 /src/SFileCompactArchive.cpp | |
parent | a9579a3f4ab1a27a822bcc53f3e6a9b1a00e6418 (diff) |
+ Support for compile-time messages for deprecated symbols
+ Replaced MPQ_FILE_COMPRESSED with more descriptive MPQ_FILE_COMPRESS_MASK
Diffstat (limited to 'src/SFileCompactArchive.cpp')
-rw-r--r-- | src/SFileCompactArchive.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SFileCompactArchive.cpp b/src/SFileCompactArchive.cpp index a7706d0..cc2df09 100644 --- a/src/SFileCompactArchive.cpp +++ b/src/SFileCompactArchive.cpp @@ -171,7 +171,7 @@ static int CopyMpqFileSectors( DWORD dwSectorOffsLen = hf->SectorOffsets[0]; assert((pFileEntry->dwFlags & MPQ_FILE_SINGLE_UNIT) == 0); - assert(pFileEntry->dwFlags & MPQ_FILE_COMPRESSED); + assert(pFileEntry->dwFlags & MPQ_FILE_COMPRESS_MASK); if(SectorOffsetsCopy == NULL) nError = ERROR_NOT_ENOUGH_MEMORY; |