The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: Spacethingy on August 10, 2016, 04:04:37 PM

Title: [r7855] Upgrading rail over a road crossing removes the crossing's speed cap
Post by: Spacethingy on August 10, 2016, 04:04:37 PM
As per the title, upgrading a railway line that includes a level crossing over a road ignores the speed limit imposed by the crossing (160 km/h for pak64). Building a fresh rail line over the road behaves as normal.

Intriguingly, if you save and reboot Simutrans, the missing crossing limits suddenly get put back.
Title: Re: [r7855] Upgrading rail over a road crossing removes the crossing's speed cap
Post by: Ters on August 10, 2016, 06:09:07 PM
Loading tends to go through some of the same logic as building things, so that things are set right then isn't too surprising.
Title: Re: [r7855] Upgrading rail over a road crossing removes the crossing's speed cap
Post by: Dwachs on August 10, 2016, 07:14:18 PM
Should be fixed in r7856.

Quote from: Spacethingy on August 10, 2016, 04:04:37 PM
Intriguingly, if you save and reboot Simutrans, the missing crossing limits suddenly get put back.
This is always a good sign: there is a part of the code that works correctly :)
Title: Re: [r7855] Upgrading rail over a road crossing removes the crossing's speed cap
Post by: Spacethingy on August 11, 2016, 09:36:24 AM
Fixed, thanks. And I like the positivity there!