diff --git a/src/core/Vector2.cpp b/src/core/Vector2.cpp index ecb73789..379af9e6 100644 --- a/src/core/Vector2.cpp +++ b/src/core/Vector2.cpp @@ -81,7 +81,7 @@ void Vector2::normalize() { real_t l = x*x + y*y; if (l != 0) { - l = (l); + l = sqrt(l); x /= l; y /= l; }