Fix a pesky bug in marshalls.cpp/encode_variant
Fixes #7556 running game from editor on LLVM builds.
This commit is contained in:
@ -862,7 +862,7 @@ Error encode_variant(const Variant &p_variant, uint8_t *r_buffer, int &r_len) {
|
|||||||
} else {
|
} else {
|
||||||
|
|
||||||
if (buf) {
|
if (buf) {
|
||||||
encode_double(p_variant.operator float(), buf);
|
encode_float(p_variant.operator float(), buf);
|
||||||
}
|
}
|
||||||
|
|
||||||
r_len += 4;
|
r_len += 4;
|
||||||
|
|||||||
Reference in New Issue
Block a user