From afd42b916423a3208cc0dc86daa292856230feb3 Mon Sep 17 00:00:00 2001 From: Daniel Weber Date: Sun, 8 Jan 2023 21:19:06 -0500 Subject: [PATCH] get rid of the jail for now by just commenting out 2 lines. --- src/chess_board.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/chess_board.cpp b/src/chess_board.cpp index 8cdf5b0..7f256d8 100644 --- a/src/chess_board.cpp +++ b/src/chess_board.cpp @@ -858,10 +858,10 @@ static void Board_Square_Was_Toggled(uint8_t j, uint8_t i) } else if (Board_Lights[j][i] == POTENTIAL_TAKE) { - Taken_Piece = Board_State[j][i]; + // Taken_Piece = Board_State[j][i]; Board_State[j][i] = SQUARE_EMPTY; Game_State = (White_Turn ? GAME_STATE_P1_TURN_TAKING : GAME_STATE_P2_TURN_TAKING); - Mark_Taken_Piece_Spots_In_Jail(); + // Mark_Taken_Piece_Spots_In_Jail(); clear_lights(); Board_Lights[j][i] = PIECE_NEEDS_TO_BE_HERE; }