The International Simutrans Forum

Simutrans Extended => Simutrans-Extended bug reports => Simutrans-Extended development => Simutrans-Extended closed bug reports => Topic started by: Mariculous on April 10, 2021, 03:30:15 AM

Title: [Bug] priority mail did not query the priority mail network
Post by: Mariculous on April 10, 2021, 03:30:15 AM
See the PR
https://github.com/jamespetts/simutrans-extended/pull/369

QuoteThe path explorer correctly explored the prioritymail network but express mail used the precalculated normal mail network to move around.
This effectively led to pure express mail routes being entirely ignored by any mail (except from very small amounts of mail. It is yet unclear to me how those few units made their way into pure priority mail routes)

This fix also comes with a slight code cleanup as it was caused by a mistaken conditional handling where no condition was needed at all.
Title: Re: [Bug] priority mail did not query the priority mail network
Post by: Vladki on April 10, 2021, 09:21:37 AM
Thanks for finding that. I suspected that behavior long ago, but had no idea how to prove that.