From 49b619bae28ba5fcb63c192ef14a9b624e2a7286 Mon Sep 17 00:00:00 2001 From: Ladislav Zezula Date: Mon, 15 Sep 2025 15:09:30 +0200 Subject: Fixed https://github.com/ladislav-zezula/StormLib/issues/397 and https://github.com/ladislav-zezula/StormLib/issues/398 --- src/SBaseCommon.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/SBaseCommon.cpp') 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), -- cgit v1.2.3