revert to color at LSB, to avoid easy mistakes

close #3
This commit is contained in:
2021-11-19 12:15:53 +01:00
parent b582798751
commit 6b2c1702f6
3 changed files with 22 additions and 25 deletions

View File

@@ -63,7 +63,7 @@ void piece_pool_stats()
piece_list_t *piece_add(pos_t *pos, piece_t piece, square_t square)
{
piece_list_t *new;
short color = VCOLOR(piece);
short color = COLOR(piece);
# ifdef DEBUG_PIECE
log_f(3, "piece=%02x square=%02x\n", piece, square);