diff --git a/core/variant.cpp b/core/variant.cpp index fe6a6b3e4f2..5e2ab962a62 100644 --- a/core/variant.cpp +++ b/core/variant.cpp @@ -532,7 +532,7 @@ bool Variant::is_zero() const { } break; case QUAT: { - *reinterpret_cast(_data._mem)==Quat(); + return *reinterpret_cast(_data._mem)==Quat(); } break; case MATRIX3: {