From 7ac73098fce2ba867b980b6cc6c51b80f0665551 Mon Sep 17 00:00:00 2001 From: elasota Date: Thu, 13 Sep 2018 19:10:35 -0400 Subject: [PATCH] Fix FileAccessCompressed::get_8 returning 0 for the last byte of a file (cherry picked from commit 88c74aa017efdd6627bb69f5606f753af3db4164) --- core/io/file_access_compressed.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/core/io/file_access_compressed.cpp b/core/io/file_access_compressed.cpp index bbb402dbb67..a6fca6634ac 100644 --- a/core/io/file_access_compressed.cpp +++ b/core/io/file_access_compressed.cpp @@ -291,7 +291,6 @@ uint8_t FileAccessCompressed::get_8() const { } else { read_block--; at_end = true; - ret = 0; } }