prevent backtracking
This commit is contained in:
parent
64e7b2ea2f
commit
23f81af2ed
1 changed files with 1 additions and 0 deletions
|
@ -235,6 +235,7 @@ static class Mono
|
||||||
}
|
}
|
||||||
if (viable_step)
|
if (viable_step)
|
||||||
{
|
{
|
||||||
|
tail_fill[min_cell] = -1; // prevent backtracking
|
||||||
cell = min_cell;
|
cell = min_cell;
|
||||||
}
|
}
|
||||||
// if (min_dist <= 1)
|
// if (min_dist <= 1)
|
||||||
|
|
Loading…
Add table
Reference in a new issue