clean up paths

This commit is contained in:
2026-07-06 01:13:18 -07:00
parent 59825b5025
commit a3f760e1f1
3 changed files with 12 additions and 0 deletions
+6
View File
@@ -207,3 +207,9 @@ path_reconstruct :: proc(
return true
}
path_destroy :: proc(path: ^Path) {
delete(path.tiles)
path.tiles = nil
path.count = 0
}