Fixed bug created in previous commit on right hand side of board when selecting a...
authorAaron Taylor <ataylor@subgeniuskitty.com>
Tue, 18 May 2021 13:43:20 +0000 (06:43 -0700)
committerAaron Taylor <ataylor@subgeniuskitty.com>
Tue, 18 May 2021 13:43:20 +0000 (06:43 -0700)
interface/play_ascii.c

index fa2975f..29305c6 100644 (file)
@@ -273,11 +273,11 @@ ascii_showboard(void)
                     break;
                 case BLACK+128:
                     printf(BLACKCOLOR "()" RESETCOLOR);
                     break;
                 case BLACK+128:
                     printf(BLACKCOLOR "()" RESETCOLOR);
-                    last_pos_was_move = 256;
+                    last_pos_was_move = 0;
                     break;
                 case WHITE+128:
                     printf(WHITECOLOR "()" RESETCOLOR);
                     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) {
                     break;
                 case EMPTY+256:
                     if (i % 2 == 0) {