From 763c66683ccd2d242cd1bcf13f6308bb07851ba9 Mon Sep 17 00:00:00 2001 From: Jason Bou-Samra <154414066+bou-samra@users.noreply.github.com> Date: Fri, 26 Jul 2024 18:01:33 +1000 Subject: [PATCH] Update colum.c --- src/colum.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/colum.c b/src/colum.c index 2b2f7d9..c1e15a7 100644 --- a/src/colum.c +++ b/src/colum.c @@ -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; }