Update colum.c

This commit is contained in:
Jason Bou-Samra
2024-07-26 18:01:33 +10:00
committed by GitHub
parent 5ff233a094
commit 763c66683c
+2 -2
View File
@@ -33,8 +33,8 @@ int disp_column(int row, int col) {
// generate random 3 tile bricks for current and preview
int new_brick () {
for (i = 0; i < 3; i++) {
tile_current[i] = randombytes_uniform(5) + 1; // current piece
tile_next[i] = randombytes_uniform(5) + 1; // next piece
tile_current[i] = randombytes_uniform(5) + 1; // brick in play
tile_next[i] = randombytes_uniform(5) + 1; // next brick preview
}
return 0;
}