Skip to content

Commit

Permalink
fixed bug with bfs_tile clear clearing flagged tiles
Browse files Browse the repository at this point in the history
  • Loading branch information
squee72564 committed Jan 11, 2024
1 parent 144aafd commit e13c6ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions views/minesweeper_game_screen.c
Original file line number Diff line number Diff line change
Expand Up @@ -562,8 +562,8 @@ static inline uint16_t bfs_tile_clear(
continue;
}

// If it is cleared continue
if (board[curr_pos_1d].tile_state == MineSweeperGameScreenTileStateCleared) {
// If it is not uncleared continue
if (board[curr_pos_1d].tile_state != MineSweeperGameScreenTileStateUncleared) {
continue;
}

Expand Down

0 comments on commit e13c6ba

Please sign in to comment.