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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue