summaryrefslogtreecommitdiff
path: root/src/ChessArbiter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ChessArbiter.cpp')
-rw-r--r--src/ChessArbiter.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ChessArbiter.cpp b/src/ChessArbiter.cpp
index 2b34ef6..1c04bed 100644
--- a/src/ChessArbiter.cpp
+++ b/src/ChessArbiter.cpp
@@ -3,7 +3,7 @@
namespace chessarbiter {
ChessArbiter::ChessArbiter()
: wPawn(1), wRook(5), wKnight(3), wBishop(3), wQueen(9), wKing(0), SAN(""),
- capture(' '), capture_last(' ') {}
+ capture(' '){}
void ChessArbiter::Setup(std::string fen) {
positions.clear();
@@ -47,6 +47,7 @@ bool ChessArbiter::Play(std::string move) {
FEN newFen = fen;
INIT_BACKUP();
SAN = "";
+ capture=' ';
if (IsCapture) {
capture = board.GetPieceAt(dst).piece;