[GDNative] fix godot_variant_evaluate function
Fixes #28984
(cherry picked from commit c1e733466b
)
This commit is contained in:
parent
b01ef197a6
commit
2514594a45
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue