diff --git a/sk1a/maze.c b/sk1a/maze.c index f88bee7..31c6668 100644 --- a/sk1a/maze.c +++ b/sk1a/maze.c @@ -104,14 +104,14 @@ int solve_maze(char* maze, int size) { } //cleanup redundant routes - for (int i = size - 2; i >= 0; i--) { + /*for (int i = size - 2; i >= 0; i--) { for (int j = size - 2; j >= 0; j--) { if (maze2d[i][j] == '*' && maze2d[i + 1][j] == '*' && maze2d[i + 1][j + 1] == '*' && maze2d[i][j + 1] == '*') { maze2d[i + 1][j + 1] = ' '; maze2d[i][j + 1] = ' '; } } - } + }*/ //serialize for (int i = 0; i < size; i++) {