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:
@@ -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);
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user