From ffb783ffa8ddb2ce2ba51d6dab693e122132d2ad Mon Sep 17 00:00:00 2001 From: Aaron Taylor Date: Tue, 18 May 2021 06:43:20 -0700 Subject: [PATCH] Fixed bug created in previous commit on right hand side of board when selecting a right-most column tile to play. --- interface/play_ascii.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/interface/play_ascii.c b/interface/play_ascii.c index fa2975f..29305c6 100644 --- a/interface/play_ascii.c +++ b/interface/play_ascii.c @@ -273,11 +273,11 @@ ascii_showboard(void) break; case BLACK+128: printf(BLACKCOLOR "()" RESETCOLOR); - last_pos_was_move = 256; + last_pos_was_move = 0; break; case WHITE+128: printf(WHITECOLOR "()" RESETCOLOR); - last_pos_was_move = 256; + last_pos_was_move = 0; break; case EMPTY+256: if (i % 2 == 0) { -- 2.20.1