[GDNative] fix godot_variant_evaluate function

Fixes #28984
This commit is contained in:
thomas.herzog 2019-05-22 09:10:06 +02:00
parent e2375f487c
commit c1e733466b
1 changed files with 1 additions and 1 deletions

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 *a = (const Variant *)p_a;
const Variant *b = (const Variant *)p_b; const Variant *b = (const Variant *)p_b;
Variant *ret = (Variant *)r_ret; Variant *ret = (Variant *)r_ret;
Variant::evaluate(op, a, b, *ret, *r_valid); Variant::evaluate(op, *a, *b, *ret, *r_valid);
} }
#ifdef __cplusplus #ifdef __cplusplus