diff options
| author | letheed | 2017-09-10 15:37:49 +0200 |
|---|---|---|
| committer | letheed | 2017-09-20 13:11:10 +0200 |
| commit | 5ad9be4c24e9d7dc5672fdc42cea896622fe5685 (patch) | |
| tree | a8811a50265edd940b00e12b9bd522e3e9b4694e /core/io/file_access_network.cpp | |
| parent | ecd226c6a751f8a20766363fd1f2e1e0e2da8fba (diff) | |
| download | godot-5ad9be4c24e9d7dc5672fdc42cea896622fe5685.tar.gz godot-5ad9be4c24e9d7dc5672fdc42cea896622fe5685.tar.zst godot-5ad9be4c24e9d7dc5672fdc42cea896622fe5685.zip | |
Diffstat (limited to 'core/io/file_access_network.cpp')
| -rw-r--r-- | core/io/file_access_network.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/io/file_access_network.cpp b/core/io/file_access_network.cpp index 58ca2d4c5..8c624226a 100644 --- a/core/io/file_access_network.cpp +++ b/core/io/file_access_network.cpp @@ -350,7 +350,7 @@ void FileAccessNetwork::seek_end(int64_t p_position) { seek(total_size + p_position); } -size_t FileAccessNetwork::get_pos() const { +size_t FileAccessNetwork::get_position() const { ERR_FAIL_COND_V(!opened, 0); return pos; |
