Junior promotion patch

Assumption: Junior sends promotions according to the side to move (ucase/lcase).
Fact: Stockfish generally handles promotion lcase.
Patch: Handling position fen input moves always with lcase promotions.

Ported back by Portfish. No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Balint Pfliegel
2012-05-12 00:01:33 +01:00
committed by Marco Costalba
parent caef319219
commit 1b2af05ea6
2 changed files with 6 additions and 2 deletions

View File

@@ -38,7 +38,7 @@ extern void dbg_mean_of(int v);
extern void dbg_print();
class Position;
extern Move move_from_uci(const Position& pos, const std::string& str);
extern Move move_from_uci(const Position& pos, std::string str);
extern const std::string move_to_uci(Move m, bool chess960);
extern const std::string move_to_san(Position& pos, Move m);