From 00a853950f56f315d9f26a67e54a187762992a9d Mon Sep 17 00:00:00 2001 From: Marco Costalba Date: Fri, 26 Oct 2012 16:04:59 +0200 Subject: [PATCH] Fix broken uci notation for promotions MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Silly typo (introduced in e304db9d1ecf6a23) completely messed up move notation in case of promotions causing "Illegal move" warning in cutechess-cli. Reported by Jörg Oster. No functional change. --- src/notation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/notation.cpp b/src/notation.cpp index db5f58b9..dea72441 100644 --- a/src/notation.cpp +++ b/src/notation.cpp @@ -28,7 +28,7 @@ using namespace std; -static const char* PieceToChar[COLOR_NB] = { "PNBRQK", "pnbrqk" }; +static const char* PieceToChar[COLOR_NB] = { " PNBRQK", " pnbrqk" }; /// score_to_uci() converts a value to a string suitable for use with the UCI -- 2.39.2