aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLadislav Zezula <zezula@volny.cz>2019-05-10 07:09:09 +0200
committerGitHub <noreply@github.com>2019-05-10 07:09:09 +0200
commit2f0e0e69e6b3739d7c450ac3d38816aee45ac3c2 (patch)
tree0f1a86faae76d900fa3e368cfce8b8955b3d0441 /src
parentb4e74f6710401195dc1e523c26f5cdcd3ddf8238 (diff)
parenta391c14988c8b7902b0323bea38f25914dec0458 (diff)
Merge pull request #150 from BogdanW3/sign
Support for mpq not being the last part of a file
Diffstat (limited to 'src')
-rw-r--r--src/SFileVerify.cpp2
1 files changed, 1 insertions, 1 deletions
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;