aboutsummaryrefslogtreecommitdiff
path: root/src/game_tab/left_panel/board/BoardCanvas.hpp
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2022-12-29 13:08:53 +0100
committerLoic Guegan <manzerbredes@mailbox.org>2022-12-29 13:08:53 +0100
commitf04f9b701942d7fe6c9cc0eeb6b7d711577f7db0 (patch)
tree8099c0431e51485f3c4ae1e9277e82af29d21813 /src/game_tab/left_panel/board/BoardCanvas.hpp
parentfdab451352d7de558132848807f4dac6fb22e60d (diff)
Improve pieces animations
Diffstat (limited to 'src/game_tab/left_panel/board/BoardCanvas.hpp')
-rw-r--r--src/game_tab/left_panel/board/BoardCanvas.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game_tab/left_panel/board/BoardCanvas.hpp b/src/game_tab/left_panel/board/BoardCanvas.hpp
index 36e1cf2..d4e4717 100644
--- a/src/game_tab/left_panel/board/BoardCanvas.hpp
+++ b/src/game_tab/left_panel/board/BoardCanvas.hpp
@@ -44,7 +44,7 @@ typedef std::tuple<short, short, short> ClockTime;
typedef struct AnimState {
wxBitmap *buffer;
bool reuseBuffer;
- int frame,duration,fps,duration_fast;
+ int frame,frames,duration,fps,duration_fast;
std::string final_board;
bool final_is_black_turn;
std::map<char, std::uint8_t> final_captures;