diff options
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -16,7 +16,7 @@ /* So, TODO for now: - Allow maps to have costs - - Write out the amount of visited squares (to see how algorithms differ in + - Write out the amount of visited squares (to see how algorithms differ in efficiency) - Map editor function - Rework the UI, probably completely @@ -201,12 +201,12 @@ int main(int argc, char **argv) { path = path_func(dirs, map, width, height, start_pos, end_pos, visited, anim); } break; - case 'e': + case 'e': is_maze = 0; visited_free(visited, height); path_free(path, height); - map_editor(&map, &width, &height, &start_pos, &end_pos); + map_editor(&map, &width, &height, &start_pos, &end_pos); wrefresh(curscr); visited = visited_new(width, height); |
