summaryrefslogtreecommitdiffstats
path: root/src/math/Vector2D.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/math/Vector2D.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math/Vector2D.h b/src/math/Vector2D.h
index 7bfccae6..2c4e57b5 100644
--- a/src/math/Vector2D.h
+++ b/src/math/Vector2D.h
@@ -18,7 +18,7 @@ public:
x *= invsqrt;
y *= invsqrt;
}else
- y = 1.0f;
+ x = 1.0f;
}
const CVector2D &operator+=(CVector2D const &right) {