From a391c14988c8b7902b0323bea38f25914dec0458 Mon Sep 17 00:00:00 2001 From: Bogdan Gligorijevic Date: Wed, 20 Feb 2019 16:22:07 +0100 Subject: Change QueryMpqSignatureInfo to support the mpq not being the last part of a file --- src/SFileVerify.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SFileVerify.cpp b/src/SFileVerify.cpp index e68d51a..3ceecb9 100644 --- a/src/SFileVerify.cpp +++ b/src/SFileVerify.cpp @@ -767,7 +767,7 @@ bool QueryMpqSignatureInfo( // Check the signature header "NGIS" if(pSI->Signature[0] != 'N' || pSI->Signature[1] != 'G' || pSI->Signature[2] != 'I' || pSI->Signature[3] != 'S') - return false; + return true; //Not a valid signature, but another filetype could've been appended so not always an error. pSI->SignatureTypes |= SIGNATURE_TYPE_STRONG; return true; -- cgit v1.2.3