Allows drawing path to solution
This commit is contained in:
@@ -107,3 +107,7 @@ int mazemaker_solve(mazegrid_t const* maze, maze_path_t* path) {
|
||||
return code;
|
||||
}
|
||||
|
||||
void mazemaker_path_free(maze_path_t* path) {
|
||||
path->length = 0;
|
||||
free(path->nodes);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user