You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Fixed EOF flag not resetting on seek back
This commit is contained in:
@@ -208,7 +208,8 @@ void FileAccessCompressed::seek(size_t p_position) {
|
|||||||
if (p_position == read_total) {
|
if (p_position == read_total) {
|
||||||
at_end = true;
|
at_end = true;
|
||||||
} else {
|
} else {
|
||||||
|
at_end = false;
|
||||||
|
read_eof = false;
|
||||||
int block_idx = p_position / block_size;
|
int block_idx = p_position / block_size;
|
||||||
if (block_idx != read_block) {
|
if (block_idx != read_block) {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user