mirror of
https://github.com/godotengine/godot.git
synced 2025-02-10 04:40:40 +00:00
Fix a pesky bug in marshalls.cpp/encode_variant
Fixes #7556 running game from editor on LLVM builds.
This commit is contained in:
parent
faee2fbf62
commit
c37840c69f
@ -862,7 +862,7 @@ Error encode_variant(const Variant &p_variant, uint8_t *r_buffer, int &r_len) {
|
||||
} else {
|
||||
|
||||
if (buf) {
|
||||
encode_double(p_variant.operator float(), buf);
|
||||
encode_float(p_variant.operator float(), buf);
|
||||
}
|
||||
|
||||
r_len += 4;
|
||||
|
Loading…
Reference in New Issue
Block a user