Browse Source

added return keyword, fixes #1797

Juan Linietsky 10 years ago
parent
commit
442febd2ae
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/variant.cpp

+ 1 - 1
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: {