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:
@@ -469,7 +469,7 @@ bool Color4::operator == (const Color4 & c) const
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
bool Color4::operator != (const Color4 & c) const
|
||||
{
|
||||
return (r != c.r) && (g != c.g) && (b != c.b) && (a != c.a);
|
||||
return (r != c.r) || (g != c.g) || (b != c.b) || (a != c.a);
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user