mirror of
https://github.com/tiennm99/godot.git
synced 2026-07-27 02:19:42 +00:00
In #10973 I reset the state of the stream in get_pos() assuming that the ftell failing would cause proper error checking. This is not how this class was designed, however. This commit fixes the get_8() method to not return unitialized data on eof, and removes the wrong error resets added in #10973. This fixes #11022