The International Simutrans Forum

Simutrans Extended => Simutrans-Extended bug reports => Simutrans-Extended development => Simutrans-Extended closed bug reports => Topic started by: Mariculous on April 14, 2020, 08:35:25 PM

Title: [BUG] navigation system instructions take precedence over traffic regulations
Post by: Mariculous on April 14, 2020, 08:35:25 PM
What happened?
When a road with routing instructions gets changed, those instructions will take precedence over the actual connections of that road.
That means, if one changes the overtaking mode from Two way to One way, cars will enter that road in opposite direction.
When one removes a connection in between two roads but remains the roads itself (unconnected to each other) cars will simply drive over the pavement or gras in between those roads.

How to Reproduce?
1. Load any save with calculated routes
2a. use the "set overtaking mode" tool to change the overtaking mode of a road
3a. enjoy wrong-way drivers
2b. use the "remove roads" tool on two adjacent tiles of a connected road
3b. enjoy cars simply pasing the grass

Possible solution:
Whenever the ribis of a road change, all routing instructions to removed directions need to get invalidated.
Title: Re: [BUG] navigation system instructions take precedence over traffic regulations
Post by: jamespetts on May 11, 2020, 02:06:32 PM
Thank you for the report. I believe that I have now managed to fix this. I should be grateful if you could re-test in the next nightly build.