You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-06 17:25:19 +00:00
skip uid field length in binary resource if not used
This commit is contained in:
@@ -903,6 +903,7 @@ void ResourceLoaderBinary::open(FileAccess *p_f, bool p_no_resources, bool p_kee
|
|||||||
if (using_uids) {
|
if (using_uids) {
|
||||||
uid = f->get_64();
|
uid = f->get_64();
|
||||||
} else {
|
} else {
|
||||||
|
f->get_64(); // skip over uid field
|
||||||
uid = ResourceUID::INVALID_ID;
|
uid = ResourceUID::INVALID_ID;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user