corrected comments

This commit is contained in:
Théophyl Hoguet committed 2022-01-23 19:52:33 +01:00
1 parent 3b1804166c
commit 612419ac1e
1 file changed
+1 -1
+1 -1
View File
@@ -241,7 +241,7 @@ void update_flags_walls(game g, uint i, uint j) {
if (lightbulb > game_get_black_number(g, i, j)) {
game_set_square(g, i, j, (game_get_state(g, i, j) | F_ERROR));
}
// look if there is enough empty cell around the wall (4 directions)
// look if there is enough empty cell around the wall (4 for the four directions)
else if (not_empty > abs(game_get_black_number(g, i, j) - 4)) {
game_set_square(g, i, j, (game_get_state(g, i, j) | F_ERROR));
}