prevent backtracking

This commit is contained in:
ethan merchant 2024-11-22 07:15:12 -05:00
parent 64e7b2ea2f
commit 23f81af2ed

View file

@ -235,6 +235,7 @@ static class Mono
}
if (viable_step)
{
tail_fill[min_cell] = -1; // prevent backtracking
cell = min_cell;
}
// if (min_dist <= 1)