1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2026-07-09 01:57:09 +02:00

Fix the inequality operator in basic types.

This commit is contained in:
Sandu Liviu Catalin
2016-07-29 18:00:10 +03:00
parent 3b925c21d5
commit d4f39e636e
10 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -411,7 +411,7 @@ bool Vector2i::operator == (const Vector2i & v) const
// ------------------------------------------------------------------------------------------------
bool Vector2i::operator != (const Vector2i & v) const
{
return (x != v.x) && (y != v.y);
return (x != v.x) || (y != v.y);
}
// ------------------------------------------------------------------------------------------------