summaryrefslogtreecommitdiff
path: root/src/ChessArbiter.cpp
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2022-02-24 20:40:17 +0100
committerLoic Guegan <manzerbredes@mailbox.org>2022-02-24 20:40:17 +0100
commit3812a74cda452afd7e7c1f99f417fde87d233308 (patch)
treeb39b8351d9038c2df99086db08779af878afe50c /src/ChessArbiter.cpp
parent90050da015f3988ab3188eb19629aed262454fef (diff)
Debug SAN move parser
Diffstat (limited to 'src/ChessArbiter.cpp')
-rw-r--r--src/ChessArbiter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ChessArbiter.cpp b/src/ChessArbiter.cpp
index fe83662..400b011 100644
--- a/src/ChessArbiter.cpp
+++ b/src/ChessArbiter.cpp
@@ -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);