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