aboutsummaryrefslogtreecommitdiff
path: root/src/SBaseCommon.cpp
diff options
context:
space:
mode:
authorLadislav Zezula <zezula@volny.cz>2020-09-22 17:02:57 +0200
committerLadislav Zezula <zezula@volny.cz>2020-09-22 17:02:57 +0200
commit4a07a5851ca7b2eaab2cdc41ec1e75803f52ccc9 (patch)
treeddfb30557f4b3d3f2cab0634003ac5282148d8c4 /src/SBaseCommon.cpp
parent29fcb13cbaa15097c83273d45a8fb7179390770b (diff)
Added support for NP_Protect protector (SC2 Maps)
Diffstat (limited to 'src/SBaseCommon.cpp')
-rw-r--r--src/SBaseCommon.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/SBaseCommon.cpp b/src/SBaseCommon.cpp
index fc80dee..a116625 100644
--- a/src/SBaseCommon.cpp
+++ b/src/SBaseCommon.cpp
@@ -945,6 +945,7 @@ void * LoadMpqTable(
// On archives v 1.0, hash table and block table can go beyond EOF.
// Storm.dll reads as much as possible, then fills the missing part with zeros.
// Abused by Spazzler map protector which sets hash table size to 0x00100000
+ // Abused by NP_Protect in MPQs v4 as well
if(ha->pHeader->wFormatVersion == MPQ_FORMAT_VERSION_1)
{
// Cut the table size