mirror of
https://github.com/thepigeongenerator/tetris_clone.git
synced 2025-12-17 14:05:45 +01:00
fix: not able to place towards the far left
This commit is contained in:
@@ -22,7 +22,7 @@ void game_init(GameData* const game_data) {
|
||||
*game_data = (GameData){0};
|
||||
|
||||
// write the pointer information for the rows
|
||||
for (uint8_t i = 0; i < ROWS; i++)
|
||||
for (int8_t i = 0; i < ROWS; i++)
|
||||
game_data->row[i] = game_data->row_raw[i];
|
||||
|
||||
// set a random seed using the system clock
|
||||
|
||||
Reference in New Issue
Block a user