The program correctly follows the actual train route, problem here is that the actual route is indeed looped - it's a full circle, without any objects to 'stop' the search.
A loop detection has been added, setting the resulting length to the value as found when the loop occurs.
Committed in version 3053.
The program correctly follows the actual train route, problem here is that the actual route is indeed looped - it's a full circle, without any objects to 'stop' the search.
A loop detection has been added, setting the resulting length to the value as found when the loop occurs.
Committed in version 3053.