mirror of
https://gitlab.com/manzerbredes/chessarbiter.git
synced 2025-05-23 07:37:40 +00:00
Debug SAN move parser
This commit is contained in:
parent
90050da015
commit
3812a74cda
2 changed files with 4 additions and 0 deletions
|
@ -435,6 +435,7 @@ std::string ChessArbiter::ParseSAN(std::string SANMove) {
|
|||
// Pawn moves
|
||||
if (std::islower(SANMove[0])) {
|
||||
piece = 'P';
|
||||
hint=SANMove[0];
|
||||
// Not a capture
|
||||
if (SANMove[1] != 'x') {
|
||||
dst = SANMove.substr(0, 2);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue