From 2514594a4574ded407efdeb8688202423eb203e4 Mon Sep 17 00:00:00 2001 From: "thomas.herzog" Date: Wed, 22 May 2019 09:10:06 +0200 Subject: [PATCH] [GDNative] fix godot_variant_evaluate function Fixes #28984 (cherry picked from commit c1e733466bf8cd1dfe44787247c9ee54f4f85ae6) --- modules/gdnative/gdnative/variant.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/gdnative/gdnative/variant.cpp b/modules/gdnative/gdnative/variant.cpp index 8f0d5a2db40..ac4d5a86b2b 100644 --- a/modules/gdnative/gdnative/variant.cpp +++ b/modules/gdnative/gdnative/variant.cpp @@ -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