- fixed the most anoying bug I ever had
authorAkiko <akiko@linux-addicted.net>
Fri, 25 Oct 2013 04:54:19 +0000 (06:54 +0200)
committerAkiko <akiko@linux-addicted.net>
Fri, 25 Oct 2013 04:54:19 +0000 (06:54 +0200)
engine/Vector.hxx

index 06f4aa5..c224610 100644 (file)
@@ -1117,7 +1117,7 @@ Vector3<Vec> operator*(const Val& val, const Vector3<Vec>& vec)
                    std::is_integral<Vec>::value || std::is_floating_point<Vec>::value,
                    "ERROR: template parameter is not an integral or floating point type");
 
-    return {val * vec.x, val + vec.y, val * vec.z};
+    return {val * vec.x, val * vec.y, val * vec.z};
 }
 
 // ---