diff options
author | Ladislav Zezula <zezula@volny.cz> | 2025-09-15 15:09:30 +0200 |
---|---|---|
committer | Ladislav Zezula <zezula@volny.cz> | 2025-09-15 15:09:30 +0200 |
commit | 49b619bae28ba5fcb63c192ef14a9b624e2a7286 (patch) | |
tree | d7648d47f2f735e9b181919b77eb0e2c30d2a551 /src/SBaseCommon.cpp | |
parent | 249b1c0490af45965ac5e75e138b80b8699da665 (diff) |
Fixed https://github.com/ladislav-zezula/StormLib/issues/397 and https://github.com/ladislav-zezula/StormLib/issues/398
Diffstat (limited to 'src/SBaseCommon.cpp')
-rw-r--r-- | src/SBaseCommon.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/SBaseCommon.cpp b/src/SBaseCommon.cpp index 16caf4f..4d56502 100644 --- a/src/SBaseCommon.cpp +++ b/src/SBaseCommon.cpp @@ -1019,6 +1019,11 @@ void * LoadMpqTable( return NULL;
}
}
+ else
+ {
+ // pocs/MPQ_2025_06_BadHashTableSize.mpq
+ dwCompressedSize = dwTableSize;
+ }
// Get the file offset from which we will read the table
// Note: According to Storm.dll from Warcraft III (version 2002),
|