Fix a pesky bug in marshalls.cpp/encode_variant

Fixes #7556 running game from editor on LLVM builds.
This commit is contained in:
Bojidar Marinov 2017-04-11 20:17:56 +03:00
parent faee2fbf62
commit c37840c69f
No known key found for this signature in database
GPG key ID: 4D546A8F1E091856

View file

@ -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;