diff options
author | nikitalita <69168929+nikitalita@users.noreply.github.com> | 2021-07-29 22:24:29 -0700 |
---|---|---|
committer | nikitalita <69168929+nikitalita@users.noreply.github.com> | 2021-07-29 22:24:29 -0700 |
commit | bc58bf5477bc06c5ddcda04a95c6b13e137eec88 (patch) | |
tree | 889261822def16f0be4dba884199ff5064bc34a8 /scene | |
parent | 160601cc78d14d500095a5127d49c335b249141a (diff) | |
download | redot-engine-bc58bf5477bc06c5ddcda04a95c6b13e137eec88.tar.gz |
Use constant for reserved field count
Diffstat (limited to 'scene')
-rw-r--r-- | scene/resources/resource_format_text.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/resource_format_text.cpp b/scene/resources/resource_format_text.cpp index f71f5f27cb..a32e12ed51 100644 --- a/scene/resources/resource_format_text.cpp +++ b/scene/resources/resource_format_text.cpp @@ -1024,7 +1024,7 @@ Error ResourceLoaderText::save_as_binary(FileAccess *p_f, const String &p_path) wf->store_64(res_uid); - for (int i = 0; i < 11; i++) { + for (int i = 0; i < ResourceFormatSaverBinaryInstance::RESERVED_FIELDS; i++) { wf->store_32(0); // reserved } |