diff --git a/include/zeus/CVector2i.hpp b/include/zeus/CVector2i.hpp index 99fac02..ce5db60 100644 --- a/include/zeus/CVector2i.hpp +++ b/include/zeus/CVector2i.hpp @@ -28,7 +28,7 @@ public: bool operator==(const CVector2i& other) const { return x == other.x && y == other.y; } - bool operator!=(const CVector2i& other) const { return x != other.x || y != other.y; } + bool operator!=(const CVector2i& other) const { return !operator==(other); } CVector2i operator*(int32_t val) const { return CVector2i(x * val, y * val); } };