mirror of
https://github.com/StewBC/cc65-Chess.git
synced 2025-03-13 02:32:47 +00:00
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…
x
Reference in New Issue
Block a user