aboutsummaryrefslogtreecommitdiff
path: root/src/SFileCompactArchive.cpp
diff options
context:
space:
mode:
authorLadislav Zezula <ladislav.zezula@avg.com>2013-12-09 14:51:40 +0100
committerLadislav Zezula <ladislav.zezula@avg.com>2013-12-09 14:51:40 +0100
commit5106d34fdaaf6378abf0fa8bb0b30d54a487e398 (patch)
treec5a25c22fdb67a0c0f0021c49380d081ff2679eb /src/SFileCompactArchive.cpp
parentcc0ed30d33eb020c4fda8b7ceeb7fde7a0af9b41 (diff)
+ Bugfixes
Diffstat (limited to 'src/SFileCompactArchive.cpp')
-rw-r--r--src/SFileCompactArchive.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/SFileCompactArchive.cpp b/src/SFileCompactArchive.cpp
index 64c599d..ad9801b 100644
--- a/src/SFileCompactArchive.cpp
+++ b/src/SFileCompactArchive.cpp
@@ -332,14 +332,13 @@ static int CopyMpqFileSectors(
{
// At this point, number of bytes written should be exactly
// the same like the compressed file size. If it isn't,
- // there's something wrong (an unknown archive version, MPQ protection, ...)
+ // there's something wrong (an unknown archive version, MPQ malformation, ...)
//
// Note: Diablo savegames have very weird layout, and the file "hero"
// seems to have improper compressed size. Instead of real compressed size,
// the "dwCmpSize" member of the block table entry contains
// uncompressed size of file data + size of the sector table.
// If we compact the archive, Diablo will refuse to load the game
- // Seems like some sort of protection to me.
//
// Note: Some patch files in WOW patches don't count the patch header
// into compressed size