From 88c74aa017efdd6627bb69f5606f753af3db4164 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 --- 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 62909135033..645d97ae7ee 100644 --- a/core/io/file_access_compressed.cpp +++ b/core/io/file_access_compressed.cpp @@ -293,7 +293,6 @@ uint8_t FileAccessCompressed::get_8() const { } else { read_block--; at_end = true; - ret = 0; } }