[GDNative] fix godot_variant_evaluate function

Fixes #28984

(cherry picked from commit c1e733466b)
This commit is contained in:
thomas.herzog 2019-05-22 09:10:06 +02:00 committed by Rémi Verschelde
parent b01ef197a6
commit 2514594a45
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 *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