mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-19 00:26:33 +08:00
Fix broken uci notation for promotions
Silly typo (introduced in e304db9d1e) completely
messed up move notation in case of promotions causing
"Illegal move" warning in cutechess-cli.
Reported by Jörg Oster.
No functional change.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user