summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorthomas.herzog <thomas.herzog@simedis.com>2019-05-22 09:10:06 +0200
committerthomas.herzog <thomas.herzog@simedis.com>2019-05-22 09:10:06 +0200
commitc1e733466bf8cd1dfe44787247c9ee54f4f85ae6 (patch)
tree7943cf342b273c4ce32dccea17ef511ea9b9bae8 /modules
parente2375f487c2b6857ba7300ed1d460f43cef8cc59 (diff)
[GDNative] fix godot_variant_evaluate function
Fixes #28984
Diffstat (limited to 'modules')
-rw-r--r--modules/gdnative/gdnative/variant.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdnative/gdnative/variant.cpp b/modules/gdnative/gdnative/variant.cpp
index 8f0d5a2db4..ac4d5a86b2 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