Fix for XOR and logical operation
This commit is contained in:
parent
52e003537e
commit
5ec7fe9753
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue