Update column.c

This commit is contained in:
Jason Bou-Samra
2024-08-17 20:00:47 +10:00
committed by GitHub
parent edf8b27c09
commit 3e02e35bcb
+1 -1
View File
@@ -93,7 +93,7 @@ int new_column(void) {
//////////////////////////////// DISPLAY COLUMN ////////////////////////// //////////////////////////////// DISPLAY COLUMN //////////////////////////
// display brick in relevant row/column of board array // display brick in relevant row/column of board array
int disp_column(int row, int col) { int disp_column(int row, int col) {
for (int i = 0; i < 3; i++) { for (int i = -1; i < 3; i++) {
grid[0][row + i][col] = tile_current[i]; grid[0][row + i][col] = tile_current[i];
} }
return 0; return 0;