diff options
author | TGRCDev <tiger@caldwellfive.com> | 2019-08-05 18:20:18 -0700 |
---|---|---|
committer | TGRCDev <tiger@caldwellfive.com> | 2019-08-05 18:20:18 -0700 |
commit | c6f7015bca044ae4ce079a6304f089c2751d03b8 (patch) | |
tree | 8330bb4ada67e6f1c19a65aad3afb5d5b1584455 | |
parent | fa35a73f0aa914ad282a0b9878ef485152521f40 (diff) |
Fixed EOF flag not resetting on seek back
-rw-r--r-- | core/io/file_access_compressed.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/io/file_access_compressed.cpp b/core/io/file_access_compressed.cpp index 6c4310a572..102cd9cf6c 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) { |