Fix for XOR and logical operation

This commit is contained in:
StewBC 2024-01-11 11:52:52 -08:00
parent 52e003537e
commit 5ec7fe9753
1 changed files with 1 additions and 1 deletions

View File

@ -215,7 +215,7 @@ void plat_DrawSquare(char position)
if(piece)
{
rop = blackWhite ? ROP_INV : ROP_CPY;
inv = blackWhite ^ (piece & PIECE_WHITE) != 0;
inv = blackWhite ^ !((piece & PIECE_WHITE) != 0);
}
else
{