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
@@ -444,7 +444,7 @@ bool Color3::operator == (const Color3 & c) const
// ------------------------------------------------------------------------------------------------
bool Color3::operator != (const Color3 & c) const
{
return (r != c.r) && (g != c.g) && (b != c.b);
return (r != c.r) || (g != c.g) || (b != c.b);
}
// ------------------------------------------------------------------------------------------------