diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-10-13 08:51:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-13 08:51:38 +0200 |
commit | e97ada64135dcdf81ac817ded43c810b3f6883e5 (patch) | |
tree | 1aaad984deba78c650696f376c7cee47cf32db4b /core/io/file_access_encrypted.cpp | |
parent | 750d75dc4caec8f54e1b9faed09cad65c7fbfcae (diff) | |
parent | 6106fd88d415c2889d3b64dcf1b0762eda2df562 (diff) |
Merge pull request #12064 from endragor/junk-logs
Remove junk output
[ci skip]
Diffstat (limited to 'core/io/file_access_encrypted.cpp')
-rw-r--r-- | core/io/file_access_encrypted.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/io/file_access_encrypted.cpp b/core/io/file_access_encrypted.cpp index c93e12f7da..e5da307153 100644 --- a/core/io/file_access_encrypted.cpp +++ b/core/io/file_access_encrypted.cpp @@ -62,12 +62,12 @@ Error FileAccessEncrypted::open_and_parse(FileAccess *p_base, const Vector<uint8 writing = false; key = p_key; uint32_t magic = p_base->get_32(); - print_line("MAGIC: " + itos(magic)); ERR_FAIL_COND_V(magic != COMP_MAGIC, ERR_FILE_UNRECOGNIZED); + mode = Mode(p_base->get_32()); ERR_FAIL_INDEX_V(mode, MODE_MAX, ERR_FILE_CORRUPT); ERR_FAIL_COND_V(mode == 0, ERR_FILE_CORRUPT); - print_line("MODE: " + itos(mode)); + unsigned char md5d[16]; p_base->get_buffer(md5d, 16); length = p_base->get_64(); |