From 3efabf1c331bef94d27e2818ab734a02dc401dfe Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Thu, 29 Dec 2022 10:08:22 +0100 Subject: Implement pieces move animations --- src/game_tab/Game.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game_tab/Game.cpp') diff --git a/src/game_tab/Game.cpp b/src/game_tab/Game.cpp index 1bc1e4c..39605ce 100644 --- a/src/game_tab/Game.cpp +++ b/src/game_tab/Game.cpp @@ -84,7 +84,7 @@ bool Game::Play(std::string move) { std::string fen = GetFen(); arbiter.Setup(fen); if (arbiter.Play(move)) { - HalfMove *m = new HalfMove(arbiter.GetSAN(), arbiter.GetFEN()); + HalfMove *m = new HalfMove(move, arbiter.GetSAN(), arbiter.GetFEN()); char capture = arbiter.GetCapture(); if (capture != ' ') { wxLogDebug("%c", capture); -- cgit v1.2.3