diff options
-rw-r--r-- | core/variant_op.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/variant_op.cpp b/core/variant_op.cpp index 361e31f743..01aa496295 100644 --- a/core/variant_op.cpp +++ b/core/variant_op.cpp @@ -290,8 +290,9 @@ void Variant::evaluate(const Operator& p_op, const Variant& p_a, const Variant& if (arr_b->size()!=l) _RETURN( false ); for(int i=0;i<l;i++) { - if (!(arr_a[i]==arr_b[i])) + if (!((*arr_a)[i]==(*arr_b)[i])) { _RETURN( false ); + } } _RETURN( true ); |