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:
Marco Costalba 2012-10-26 16:04:59 +02:00
parent 4c7a71a44b
commit 00a853950f

View file

@ -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