+ Fixed ASSERT when opening a protected map with MPQ_OPEN_FORCE_MPQ_V1

This commit is contained in:
Ladislav Zezula
2014-03-05 09:37:52 +01:00
parent a060c806ea
commit 45d0dfbb81
2 changed files with 5 additions and 4 deletions

View File

@@ -3457,7 +3457,7 @@ int main(int argc, char * argv[])
// Not a test, but rather a tool for creating links to duplicated files
// if(nError == ERROR_SUCCESS)
// nError = FindFilePairs(ForEachFile_CreateArchiveLink, "2004 - WoW\\06080", "2004 - WoW\\06299");
/*
// Search all testing archives and verify their SHA1 hash
if(nError == ERROR_SUCCESS)
nError = FindFiles(ForEachFile_VerifyFileChecksum, szMpqSubDir);
@@ -3565,7 +3565,7 @@ int main(int argc, char * argv[])
// Open an Warcraft III map locked by the Spazzler protector
if(nError == ERROR_SUCCESS)
nError = TestOpenArchive("MPQ_2002_v1_ProtectedMap_Spazzler.w3x");
*/
if(nError == ERROR_SUCCESS)
nError = TestOpenArchive("MPQ_2014_v1_ProtectedMap_Spazzler2.w3x");