From ccb929172587fbfb8fb000d7992bdbbdac6f53ae Mon Sep 17 00:00:00 2001 From: Adam Date: Tue, 28 Jul 2026 19:04:46 +0200 Subject: renaming none to none piece --- src/uci.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/uci.cpp') diff --git a/src/uci.cpp b/src/uci.cpp index 1f634fe..4e32d6f 100644 --- a/src/uci.cpp +++ b/src/uci.cpp @@ -57,7 +57,7 @@ static Game initBoard(string startingFEN) { Piece EmptyPiece = { false, - NONE, + NONEPIECE, false, }; for (int i = 0; i < 64; i++) { @@ -95,7 +95,7 @@ void Uci() { cout << "bestmove "; cout << (char)(best.From.file + 'a') << 8 - best.From.rank << (char)(best.To.file + 'a') << 8 - best.To.rank; - if (best.promotion != NONE) { + if (best.promotion != NONEPIECE) { switch (best.promotion) { case QUEEN: cout << "q"; -- cgit v1.2.3