mirror of
https://github.com/sockspls/badfish
synced 2025-05-01 09:13:08 +00: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:
parent
4c7a71a44b
commit
00a853950f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue