From c57fdac8fb91a29205bda4a8d8a6f91f4c1ec172 Mon Sep 17 00:00:00 2001 From: Kai Stevenson Date: Wed, 7 Dec 2022 15:20:01 -0800 Subject: fixed check detection. changed all board[8][8] arguments to int** --- console.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'console.c') diff --git a/console.c b/console.c index 7eed8ce..19e2a38 100644 --- a/console.c +++ b/console.c @@ -5,7 +5,7 @@ #include "chesshelpers.h" #include "console.h" -void draw_board(int board[8][8]) { +void draw_board(int** board) { printf(" A B C D E F G H\n"); int tileColor = 0; for(int r = 0; r < 8; r++) { @@ -103,4 +103,3 @@ void warn_user(char* message) { while(getchar() != '\n'); getchar(); } - -- cgit v1.3.1