mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 05:07:46 +00:00
Small touches in position.h
No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
+1
-1
@@ -342,7 +342,7 @@ void Position::print(Move move) const {
|
||||
Square sq = make_square(file, rank);
|
||||
Piece piece = piece_on(sq);
|
||||
|
||||
if (piece == PIECE_NONE && square_color(sq) == DARK)
|
||||
if (piece == PIECE_NONE && color_of(sq) == DARK)
|
||||
piece = PIECE_NONE_DARK_SQ;
|
||||
|
||||
char c = (color_of(piece_on(sq)) == BLACK ? '=' : ' ');
|
||||
|
||||
Reference in New Issue
Block a user