mirror of
https://github.com/ladislav-zezula/StormLib.git
synced 2026-01-17 21:48:19 +01:00
Added support for NP_Protect protector (SC2 Maps)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user