From c6f7015bca044ae4ce079a6304f089c2751d03b8 Mon Sep 17 00:00:00 2001 From: TGRCDev Date: Mon, 5 Aug 2019 18:20:18 -0700 Subject: [PATCH] Fixed EOF flag not resetting on seek back --- core/io/file_access_compressed.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/io/file_access_compressed.cpp b/core/io/file_access_compressed.cpp index 6c4310a5729..102cd9cf6c0 100644 --- a/core/io/file_access_compressed.cpp +++ b/core/io/file_access_compressed.cpp @@ -208,7 +208,8 @@ void FileAccessCompressed::seek(size_t p_position) { if (p_position == read_total) { at_end = true; } else { - + at_end = false; + read_eof = false; int block_idx = p_position / block_size; if (block_idx != read_block) {