Merge pull request #29096 from karroffel/gdnative-variant-evaluate-fix

[GDNative] fix godot_variant_evaluate function
This commit is contained in:
Rémi Verschelde 2019-05-22 12:07:57 +02:00 committed by GitHub
commit 5fa3204008
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -518,7 +518,7 @@ void GDAPI godot_variant_evaluate(godot_variant_operator p_op, const godot_varia
const Variant *a = (const Variant *)p_a;
const Variant *b = (const Variant *)p_b;
Variant *ret = (Variant *)r_ret;
Variant::evaluate(op, a, b, *ret, *r_valid);
Variant::evaluate(op, *a, *b, *ret, *r_valid);
}
#ifdef __cplusplus