diff options
author | Juan Linietsky <reduzio@gmail.com> | 2015-05-04 00:53:33 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2015-05-04 00:53:33 -0300 |
commit | 442febd2ae594848ad2d0c5c5d4d517822601769 (patch) | |
tree | e936ded8ac75fcca7ef9873263df5aeeab8623a8 /core/variant.cpp | |
parent | e7aa37fe757151e9e241728c628dde6ccb3e0c07 (diff) | |
download | redot-engine-442febd2ae594848ad2d0c5c5d4d517822601769.tar.gz |
added return keyword, fixes #1797
Diffstat (limited to 'core/variant.cpp')
-rw-r--r-- | core/variant.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/variant.cpp b/core/variant.cpp index fe6a6b3e4f..5e2ab962a6 100644 --- a/core/variant.cpp +++ b/core/variant.cpp @@ -532,7 +532,7 @@ bool Variant::is_zero() const { } break; case QUAT: { - *reinterpret_cast<const Quat*>(_data._mem)==Quat(); + return *reinterpret_cast<const Quat*>(_data._mem)==Quat(); } break; case MATRIX3: { |