diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2022-12-26 22:08:05 +0100 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2022-12-26 22:08:05 +0100 |
| commit | bdb2963bc38893fd8a8009d8d5bfea3c34f1646d (patch) | |
| tree | 5ee46bbad77a32fd7b03ca0a9d5472f66ffb3297 /src | |
| parent | 3ba7bd82d255c555aec3882f897be471fdb69a8d (diff) | |
Debug promotion
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChessArbiter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ChessArbiter.cpp b/src/ChessArbiter.cpp index 96c7d49..0064234 100644 --- a/src/ChessArbiter.cpp +++ b/src/ChessArbiter.cpp @@ -130,7 +130,7 @@ bool ChessArbiter::Play(std::string move, char promote) { if(moved.piece == 'p' && dst[1]=='1'){ board.RemovePiece(dst); board.AddPiece(tolower(promote),dst); - SAN+="="+promote; + SAN+="="+toupper(promote); } else if(dst[1]=='8'){ board.RemovePiece(dst); board.AddPiece(toupper(promote),dst); |
